Template metaprogramming is your friend here. Check out the complete, documented source code on Github. More likely you'd use runtime polymorphism here e. But how do you test gameplay code see point 1? Well, in my current implementation I don't use any RTTI or string comparisons it's all hashed integers , and that's what gives me poor performance.
nest...