SUPER Space invader : Turbo edition DX - VS GOD
1.0.0
A simple space invader ripoff
projectiles.h
Go to the documentation of this file.
1
11
#ifndef GUARD_PROJECTILES_H
12
#define GUARD_PROJECTILES_H
13
14
#include "
utils.h
"
15
16
typedef
Position
missile
;
17
22
class
Torpedo
:
public
Position
{
23
public
:
24
28
playerID
owner
;
29
36
Torpedo
(
int
x,
int
y,
playerID
owner
);
37
};
38
39
#endif
Torpedo
player's projectiles
Definition:
projectiles.h:22
Torpedo::owner
playerID owner
id of the player that shot the torpedo
Definition:
projectiles.h:28
Torpedo::Torpedo
Torpedo(int x, int y, playerID owner)
constuctor for the torpedo class
Definition:
projectiles.cpp:12
missile
Position missile
Definition:
projectiles.h:16
utils.h
utilies for the game
playerID
unsigned playerID
Definition:
utils.h:54
Position
nsGraphics::Vec2D Position
Definition:
utils.h:53
headers
projectiles.h
Generated by
1.9.3