refactor: move PlayerID declaration
This commit is contained in:
@@ -30,7 +30,6 @@ enum class MobType : std::uint8_t {
|
|||||||
Giant
|
Giant
|
||||||
};
|
};
|
||||||
|
|
||||||
typedef std::uint8_t PlayerID;
|
|
||||||
typedef std::uint32_t MobID;
|
typedef std::uint32_t MobID;
|
||||||
typedef std::uint8_t MobLevel;
|
typedef std::uint8_t MobLevel;
|
||||||
typedef std::vector<TowerType> TowerImmunities;
|
typedef std::vector<TowerType> TowerImmunities;
|
||||||
|
|||||||
@@ -12,5 +12,7 @@ enum class Direction : std::uint8_t {
|
|||||||
NegativeY = 1 << 3,
|
NegativeY = 1 << 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
typedef std::uint8_t PlayerID;
|
||||||
|
|
||||||
} // namespace game
|
} // namespace game
|
||||||
} // namespace td
|
} // namespace td
|
||||||
|
|||||||
Reference in New Issue
Block a user