About Store Forum Documentation Contact



Post Reply 
Polymorphic AI base class
Author Message
jakotheshadows Offline
Member

Post: #1
Polymorphic AI base class
So from looking at the Bloody Massacre example, I see that it uses switch cases to change the behavior of the object depending on what kind of AI you want. I have been trying and struggling to correctly implement a polymorphic AI base class which I can then inherit from and override functionality depending on the type of AI. Has anyone else tried this before and gotten it to work? Is it worth the effort?
11-11-2012 09:19 PM
Find all posts by this user Quote this message in a reply
Post Reply