Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 25LCxxx_SPI CommonTypes Gameduino mbed
Diff: ArenaConst.cpp
- Revision:
- 4:673eb9735d44
diff -r a6a0cd726ca0 -r 673eb9735d44 ArenaConst.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ArenaConst.cpp Sat Jun 08 11:24:05 2013 +0000 @@ -0,0 +1,11 @@ +#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 ) +); +