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

Level0.h

Committer:
RichardE
Date:
2013-06-17
Revision:
18:70190f956a24
Parent:
1:dfd5eaaf96a3

File content as of revision 18:70190f956a24:

/*
 * SOURCE FILE : Level0.h
 *
 * Definition of class Level0.
 *
 */

#ifndef Level0Defined

  #define Level0Defined

  #include "Level.h"
  
  class Level0 : public Level {

  public :

    /***************/
    /* CONSTRUCTOR */
    /***************/
    Level0();

    /**************/
    /* DESTRUCTOR */
    /**************/
    virtual ~Level0();

    /**************/
    /* PLAY LEVEL */
    /**************/
    // Returns code indicating how level ended.
    virtual LevelExitCode Play( void );    

  protected :
  
        /********************/
        /* DRAW HIGH SCORES */
        /********************/
        void DrawHighScores( void );

    /*************/
    /* PLAY LOOP */
    /*************/
    // Returns code indicating how level ended.
    // This method should be called from the Play method after the
    // level data has been initialised and the return value returned
    // by the Play method.
    virtual LevelExitCode PlayLoop( void );

  };

#endif

/* END of Level0.h */