Meteor defense project

Dependencies:   N5110 mbed

Committer:
jasper0712
Date:
Wed Mar 22 15:19:20 2017 +0000
Revision:
4:4145abd09075
Parent:
0:5fbc0fbc9d30
Child:
5:c74bbdda06f4
GameEngine worked. but weapon.h is not included yet

Who changed what in which revision?

UserRevisionLine numberNew contents of line
jasper0712 4:4145abd09075 1 #include "GameEngine.h"
jasper0712 4:4145abd09075 2
jasper0712 4:4145abd09075 3 GameEngine::GameEngine()
jasper0712 4:4145abd09075 4 {
jasper0712 4:4145abd09075 5
jasper0712 4:4145abd09075 6 }
jasper0712 4:4145abd09075 7
jasper0712 4:4145abd09075 8 GameEngine::~GameEngine()
jasper0712 4:4145abd09075 9 {
jasper0712 4:4145abd09075 10
jasper0712 4:4145abd09075 11 }
jasper0712 4:4145abd09075 12
jasper0712 4:4145abd09075 13 void GameEngine::drawSpawn(N5110 &lcd){
jasper0712 4:4145abd09075 14 if (drawit ==0) {
jasper0712 4:4145abd09075 15 drawit =15;
jasper0712 4:4145abd09075 16 spa.randomizeSpawn();
jasper0712 4:4145abd09075 17 spa.moveSpawn();
jasper0712 4:4145abd09075 18 spa.updateSpawn(lcd);
jasper0712 4:4145abd09075 19 } else {
jasper0712 4:4145abd09075 20 drawit -=0.5;
jasper0712 4:4145abd09075 21 spa.updateSpawn(lcd);
jasper0712 4:4145abd09075 22 }
jasper0712 4:4145abd09075 23 }
jasper0712 4:4145abd09075 24
jasper0712 4:4145abd09075 25