nint22 / dwarfcraft

Automatically exported from code.google.com/p/dwarfcraft
Other
0 stars 0 forks source link

Entity-derived classes need to handle special call-back features #59

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
"AnimalEntity" derives from "Entity", but if it overloads any of the virtual 
functions of Entity, then it gets tedious / annoying to explicitly call the 
parent class' implementation. Consider a third style callback? Force it as 
pure-virtual?

Original issue reported on code.google.com by nin...@gmail.com on 12 Nov 2011 at 9:46

GoogleCodeExporter commented 9 years ago
Done; implemented in the same way as GrfxObject's __Update vs. Update design 
is; see AnimalEntity for an example of basic AI

Original comment by nin...@gmail.com on 14 Nov 2011 at 12:49

GoogleCodeExporter commented 9 years ago
Done!

Original comment by nin...@gmail.com on 15 Nov 2011 at 8:15