summaryrefslogtreecommitdiff
path: root/src/sacredBird.cpp
blob: 72e9c2c9a0fdd89c220fa46d2238b1535d2aa209 (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
26
#include "sacredBird.h"
#include "uiDraw.h"
#include "UFO.h"
// SacredBird constructor
SacredBird :: SacredBird() : Bird()
{
}

// Draw SacredBird
void SacredBird :: draw()
{
   drawSacredBird( point , 15 );
}

// Apply gravity to SacredBird
void SacredBird :: applyGravity ()
{
   this->velocity.addDy ( -0.1 );
}

// Hit SacredBird
int SacredBird :: hit()
{
   kill();
   return -10;
}