OpenAstra
Loading...
Searching...
No Matches
commandmanager.h
1
#ifndef COMMANDMANAGER_H
2
#define COMMANDMANAGER_H
3
4
#include <stdint.h>
5
6
#include <memory>
7
8
#include "gameobject.h"
9
10
class
Command
;
11
12
class
CommandManager
13
{
14
public
:
15
CommandManager( std::shared_ptr<GameObject> owner );
16
virtual
~CommandManager();
17
18
bool
queueCommand( std::shared_ptr<Command> command );
19
20
void
tickCommands(
double
delta_time_s,
double
total_time_s );
21
22
private
:
23
std::shared_ptr<GameObject> _owner;
24
25
};
26
27
#endif
// COMMANDMANAGER_H
Command
The Command class.
Definition
command.h:23
server
engine
commandmanager.h
Generated by
1.13.2