igra
This commit is contained in:
18
include/game/agame/friendly.hpp
Normal file
18
include/game/agame/friendly.hpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#pragma once
|
||||
|
||||
#include <game/gamemanager.hpp>
|
||||
#include <object/entity.hpp>
|
||||
#include <renderer/texture.hpp>
|
||||
#include <renderer/font.hpp>
|
||||
#include <object/sound.hpp>
|
||||
|
||||
namespace Game::AGame {
|
||||
GAME_ENTITY(Friendly)
|
||||
public:
|
||||
void onCollisionEnter(Object::Entity* other) override;
|
||||
private:
|
||||
float mMoveSpeedX = 0.f;
|
||||
float mMoveSpeedY = 0.f;
|
||||
float mDirectionChangeTimer = 0.f;
|
||||
END_GAME_ENTITY()
|
||||
}
|
||||
Reference in New Issue
Block a user