mspraggs / potentia

Southampton Game Jam 2015
0 stars 0 forks source link

Swap Object::type() for a member variable #58

Closed mspraggs closed 9 years ago

mspraggs commented 9 years ago

Given that the type function doesn't actually do anything apart from return a variable, how about we just have type_ in Object and make Object::type() return this value as a non-virtual function.

Addresses #6

Fyll commented 9 years ago

That seems like a good idea. Done, and pushed.