21 lines
594 B
C++
21 lines
594 B
C++
// Copyright (c) 2023 Dominic Masters
|
|
//
|
|
// This software is released under the MIT License.
|
|
// https://opensource.org/licenses/MIT
|
|
|
|
#pragma once
|
|
#include "scene/components/entity/EntityMove.hpp"
|
|
#include "scene/components/entity/EntitySwordAttack.hpp"
|
|
|
|
namespace Dawn {
|
|
class PlayerController : public SceneItemComponent {
|
|
protected:
|
|
EntityMove *entityMove = nullptr;
|
|
EntitySwordAttack *entitySwordAttack = nullptr;
|
|
|
|
public:
|
|
PlayerController(SceneItem *item);
|
|
std::vector<SceneItemComponent*> getDependencies() override;
|
|
void onStart() override;
|
|
};
|
|
} |