ELEC2645 (2018/19) / Mbed 2 deprecated el17dg

Dependencies:   mbed

Fork of el17dg by Dmitrijs Griskovs

Committer:
Noximilien
Date:
Thu Feb 28 16:13:06 2019 +0000
Revision:
3:10918b0f7a7d
Child:
4:02c63aaa2df9
I have created game.cpp file where the actual game will be happening. I have created one model of a spaceship and stored in header file. Have linked game and main together. ; ; However I cannot find a way of how to read buttons.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Noximilien 3:10918b0f7a7d 1 #ifndef GAME_H
Noximilien 3:10918b0f7a7d 2 #define GAME_H
Noximilien 3:10918b0f7a7d 3
Noximilien 3:10918b0f7a7d 4
Noximilien 3:10918b0f7a7d 5 void game_start(N5110 &lcd, int x, int y);
Noximilien 3:10918b0f7a7d 6
Noximilien 3:10918b0f7a7d 7 class game{
Noximilien 3:10918b0f7a7d 8 public:
Noximilien 3:10918b0f7a7d 9
Noximilien 3:10918b0f7a7d 10 private:
Noximilien 3:10918b0f7a7d 11
Noximilien 3:10918b0f7a7d 12 void drawSpaceship(N5110 &lcd, int x, int y);
Noximilien 3:10918b0f7a7d 13 };
Noximilien 3:10918b0f7a7d 14
Noximilien 3:10918b0f7a7d 15
Noximilien 3:10918b0f7a7d 16 #endif