Elegant Solution for Unit Actions (RTS)
dynamic_cast is evil. That''s no better than having a "Type" enum and putting switch statements everywhere; you might as well be using C. There''s gotta be a better way.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement