comparison projects/tank_wars/game.h @ 274:cf98c06c72fd prerelease

merge
author Liam Donovan <l.b.donovan@qmul.ac.uk>
date Tue, 17 May 2016 16:42:02 +0100
parents 8d80eda512cd
children
comparison
equal deleted inserted replaced
273:0ee6eebb567a 274:cf98c06c72fd
25 // State queries 25 // State queries
26 bool gameStatusPlayer1Turn(); 26 bool gameStatusPlayer1Turn();
27 bool gameStatusProjectileInMotion(); 27 bool gameStatusProjectileInMotion();
28 int gameStatusWinner(); 28 int gameStatusWinner();
29 bool gameStatusCollisionOccurred(); 29 bool gameStatusCollisionOccurred();
30 bool gameStatusTankHitOccurred();
30 float gameStatusProjectileHeight(); 31 float gameStatusProjectileHeight();
31 32
32 // Render screen; returns length of buffer used 33 // Render screen; returns length of buffer used
33 int drawGame(float *buffer, int bufferSize); 34 int drawGame(float *buffer, int bufferSize);
34 35