Changes to player, and mesh renderer INCOMPLETE
This commit is contained in:
27
InputCommand.h
Normal file
27
InputCommand.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#pragma once
|
||||
#include <GameObject.h>
|
||||
|
||||
class Command
|
||||
{
|
||||
public:
|
||||
virtual ~Command() {}
|
||||
virtual void Execute(GameObject& gObject) = 0;
|
||||
};
|
||||
|
||||
class JumpCommand
|
||||
{
|
||||
public:
|
||||
virtual void Execute(GameObject& gObject)
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
};
|
||||
|
||||
class MoveCommand
|
||||
{
|
||||
public:
|
||||
virtual void Execute()
|
||||
{
|
||||
// TODO
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user