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: mbed
Diff: RosenEngine/RosenEngine.h
- Revision:
- 53:3fdc4486f672
- Parent:
- 52:29772e31a620
--- a/RosenEngine/RosenEngine.h Thu May 09 13:22:45 2019 +0000 +++ b/RosenEngine/RosenEngine.h Thu May 09 14:52:52 2019 +0000 @@ -77,7 +77,7 @@ */ void check_health(); /** Calulates the amount of time past in seconds - *@param fps, the frames per second. + *@param fps the frames per second that is set */ float timer(int fps); /** An accessor method that returns true when a player dies @@ -110,6 +110,10 @@ *@param width2, the width of the second object */ bool check_collision1(int xpos1,int width1,int xpos2,int width2); + /** Displays help option + **@param &lcd address of the N5110 library used for the lcd display + */ + void help(N5110 &lcd); private: //_____________________private-Methods________________________________________________________ @@ -228,33 +232,7 @@ int _no_seekers; // the amount of seeker bool _intro; // true if intro has been shown else false float _wait_time; // amount of time before increasing difficulty - }; -/************STUFF TO FIX****************************** -**** add sound effects for sjield braking -**** add passive shield regeneration -**** work on score increase -**** add title screen with name -**** make it so back asks you if you are sure and ststes that you will lose all progress -**** think of level system -**** orion should send out pulses that stun enemy ships and absorb thier shields(use draw line) -**** scale shields properly -**** fix the border issue(i.e the ships clip through healthbar) -**** make it so enemy ship spawning is random use srand -**** add in options for lcd brightness and contrast -**** add in cheats -**** -*/ + #endif -/* -changes not commited -*Fix game playing in background -*Change seeker damage to 175 -*make seeker health 5 -* implement a viewing system for enemy ships -* enemy comes from below very fast -* if you hold a button shields come up in front but not sides -* -* -*/