blob: b184775dfc93da6d8fa4f15489a78e7226770cd4 (
plain)
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
|
#include "gameCommon.h"
#include "entity.h"
// This mother fucker follows the player and goes fucking boom boom!!!
// btw I wrote some of this on 9/11
#ifndef GUIDED_MISSILE_H
#define GUIDED_MISSILE_H
#define GUIDED_MISSILE_DAMAGE 2.0
#define GUIDED_MISSILE_BOOM_BOOM_AT 5.0
typedef struct GuidedMissile {
EntityFlyToPointInfo flyToPoint;
} GuidedMissile;
void initGuidedMissile(Entity * entity, Game * game);
void closeGuidedMissile(Entity * entity);
void updateGuidedMissile(Game * game, Entity * entity);
void drawGuidedMissile(Game * game, Entity * entity);
// Boom boom like a poop poop
void guidedMissileGoBoomBoom(Game * game, Entity * entity);
#endif
|