This repository has been archived on 2022-10-27. You can view files and clone it, but cannot push or open issues or pull requests.
space-war/include/game/controllers/fightship_controller.hpp

19 lines
407 B
C++
Raw Normal View History

#pragma once
#include "game/controller.hpp"
#include "tinyengine/tinyengine.hpp"
#include "game/entity.hpp"
#include "game/component.hpp"
#include "game/action.hpp"
class FightShipController: public Controller {
public:
FightShipController(Entity* entity);
void Update(float dt) override;
private:
Entity* entity_;
2022-02-09 22:33:06 +08:00
void weaponShoot(SpaceshipWeaponCmpt* weapon, const MoveCmpt& move);
};