A type-safe, object oriented method of resolving the aftermaths of a collision detection using double-dispatch.

This work, unless otherwise expressly stated, is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 Singapore License.













January 29th, 2009 at 7:00 am
[...] on RTTI). However, for those who prefer not to, you can use the visitor pattern as described in a previous post on double dispatch to implement this. Here is a C# sample which you can download to see how it works. There will be [...]