Version of Robotron arcade game using LPC1768, a Gameduino shield, a serial EEPROM (for high scores), two microswitch joysticks and two buttons plus a box to put it in. 20 levels of mayhem.

Dependencies:   25LCxxx_SPI CommonTypes Gameduino mbed

ArenaConst.cpp

Committer:
RichardE
Date:
2013-06-17
Revision:
18:70190f956a24
Parent:
4:673eb9735d44

File content as of revision 18:70190f956a24:

#include "ArenaConst.h"
#include "GameObject.h"

// Rectangle defining boundaries of arena.
Rectangle ArenaRectangle(
    GameObject::FromPixel( ARENA_MIN_X ),
    GameObject::FromPixel( ARENA_MIN_Y ),
    GameObject::FromPixel( ARENA_MIN_X + ARENA_WIDTH - 1 ),
    GameObject::FromPixel( ARENA_MIN_Y + ARENA_HEIGHT - 1 )
);