-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCommand.hpp
More file actions
32 lines (29 loc) · 821 Bytes
/
Command.hpp
File metadata and controls
32 lines (29 loc) · 821 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*****************************************************************************/
/*!
\file Command.hpp
\author Yeongki Baek
\par email: yeongki.baek\@digipen.edu
\date 08/01/2017
\brief
This is the interface file for the module
Copyright 2017, Digipen Institute of Technology
*/
/*****************************************************************************/
#pragma once
#include "Message.hpp"
namespace HOLD
{
class Command
{
public:
virtual ~Command() = default;
virtual void Init() = 0;
virtual void Update(int dt) = 0;
virtual void Shutdown() = 0;
virtual void ProcessMessage(Message* message) = 0;
virtual void OnUnitMorph(Unit unit) = 0;
virtual void OnUnitCreate(Unit unit) = 0;
virtual void OnUnitShow(Unit unit) = 0;
virtual void OnUnitDestroy(Unit unit) = 0;
};
}//namespace HOLD