Show differencesHistory of post edits
#Actualmike3
Posted 05 March 2012 - 04:20 AM
And I'm debating now whether to use function pointers or instead to use virtuals w/TilePrototype then specialized into, e.g. WallTilePrototype, etc. Or even whether to use function objects instead of function pointers (I use them in some other places where something can be customized to various behaviors by passing it a function).
#1mike3
Posted 05 March 2012 - 04:00 AM
And I'm debating now whether to use function pointers or instead to use virtuals w/TilePrototype then specialized into, e.g. WallTilePrototype, etc. Or even whether to use functors instead of function pointers (I use them in some other places where something can be customized to various behaviors by passing it a function).