Dependencies: mbed ELEC2645_Project_el18to
GameEngine/GameEngine.cpp@3:793a6186b557, 2020-04-08 (annotated)
- Committer:
- Tolu__
- Date:
- Wed Apr 08 11:35:58 2020 +0000
- Revision:
- 3:793a6186b557
f
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Tolu__ | 3:793a6186b557 | 1 | #include "GameEngine.h" |
Tolu__ | 3:793a6186b557 | 2 | |
Tolu__ | 3:793a6186b557 | 3 | GameEngine::GameEngine() |
Tolu__ | 3:793a6186b557 | 4 | { |
Tolu__ | 3:793a6186b557 | 5 | |
Tolu__ | 3:793a6186b557 | 6 | } |
Tolu__ | 3:793a6186b557 | 7 | |
Tolu__ | 3:793a6186b557 | 8 | GameEngine::~GameEngine() |
Tolu__ | 3:793a6186b557 | 9 | { |
Tolu__ | 3:793a6186b557 | 10 | |
Tolu__ | 3:793a6186b557 | 11 | } |
Tolu__ | 3:793a6186b557 | 12 | |
Tolu__ | 3:793a6186b557 | 13 | void GameEngine::run(N5110 &lcd, Gamepad &pad, CCar &user) |
Tolu__ | 3:793a6186b557 | 14 | { |
Tolu__ | 3:793a6186b557 | 15 | user.update(pad); |
Tolu__ | 3:793a6186b557 | 16 | user.draw(lcd); |
Tolu__ | 3:793a6186b557 | 17 | } |
Tolu__ | 3:793a6186b557 | 18 |