Krig Game Engine
Loading...
Searching...
No Matches
src
SpriteGameObject.h
Go to the documentation of this file.
1
7
#ifndef _SPRITE_GAME_OBJECT_H_
8
#define _SPRITE_GAME_OBJECT_H_
9
10
#include "constants.h"
11
#include "
Object.h
"
12
13
class
SpriteGameObject :
public
Object {
14
public
:
15
SpriteGameObject();
16
17
void
printTypeName() { PRINT_DEBUG(
"sprite\n"
); }
18
19
void
draw(Object*);
20
void
drawOutline(Object*) {};
// Camera*
21
void
drawShadow (
Vector
*) {}
22
23
void
handleCollision(Object*) {};
24
void
update(
Vector
*) {};
25
void
prepare() {};
26
27
void
setTexture(
const
std::string&);
28
29
private
:
30
int
textureId;
31
};
32
#endif
Object.h
Base game object from which all concrete types are defined.
Vector
Definition
Vector.h:15
Generated on
for Krig Game Engine by
1.16.1