A complex 2D-dungeon game on LPC1768 in SWJTU-Leeds Joint School XJEL2645 project. Referenced from the framework contributed by https://os.mbed.com/users/Siriagus/code/SimplePlatformGame/

Dependencies:   mbed N5110 ShiftReg PinDetect

CoverPage.h

Committer:
hugohu
Date:
2021-03-25
Branch:
BRAVEHEART
Revision:
21:e19709a07756
Parent:
19:89c3eeb3761b

File content as of revision 21:e19709a07756:

#ifndef TITLE_SCREEN_H
#define TITLE_SCREEN_H

#include "State.h"

/// @file CoverPage.h

/// Used to display the splash screen which is shown when turning the device on.
class CoverPage : public State
{
    public:
        CoverPage(StateManager* fsm, N5110 *lcd, InputManager* input, Sound* sound, ShiftReg* shiftreg)
                : State(fsm, lcd, input, sound, shiftreg) {init();}
        
        virtual void update(float dt);
        virtual void render();
        
    private:
        void init();
        static void btnPress();
        static const bool splashScreen[48][84];
        static bool btnWasPressed;
        
};

#endif