Skip to content

Instantly share code, notes, and snippets.

@haxpor
Last active December 14, 2015 11:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save haxpor/5080097 to your computer and use it in GitHub Desktop.
Save haxpor/5080097 to your computer and use it in GitHub Desktop.
template <>
struct ObjectSpawner::EnemyTraits<Zombie01> { const int enemy_type = (int)ZOMBIE_01; };
template <typename T>
struct EnemyTraits { };
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment