begin raylib
This commit is contained in:
@@ -79,9 +79,10 @@ class Mob : public sp::MessageBase<MobType, MobHandler> {
|
||||
Vec2fp m_Position;
|
||||
Direction m_Direction;
|
||||
std::vector<EffectDuration> m_Effects;
|
||||
const Tower* m_LastDamage; // the last tower that damaged the mob
|
||||
std::shared_ptr<Tower> m_LastDamage; // the last tower that damaged the mob
|
||||
float m_HitCooldown;
|
||||
TeamCastle* m_CastleTarget;
|
||||
std::shared_ptr<TeamCastle> m_CastleTarget;
|
||||
bool m_HasReachedCastle = false;
|
||||
// utils::CooldownTimer m_AttackTimer;
|
||||
|
||||
MobPtr m_Next;
|
||||
|
||||
@@ -25,12 +25,12 @@ enum class TileType : std::uint8_t {
|
||||
Ice,*/
|
||||
};
|
||||
|
||||
static constexpr Color BLACK{0, 0, 0};
|
||||
static constexpr Color WHITE{255, 255, 255};
|
||||
// static constexpr Color BLACK(0, 0, 0);
|
||||
// static constexpr Color WHITE(255, 255, 255);
|
||||
|
||||
static constexpr Color RED{255, 0, 0};
|
||||
static constexpr Color GREEN{0, 255, 0};
|
||||
static constexpr Color BLUE{0, 0, 255};
|
||||
// static constexpr Color RED(255, 0, 0);
|
||||
// static constexpr Color GREEN(0, 255, 0);
|
||||
// static constexpr Color BLUE(0, 0, 255);
|
||||
|
||||
class TileHandler;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user