ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_PROJECT_EL18KK

Dependencies:   mbed

SplashScreen/Splash.h

Committer:
KaifK
Date:
2020-05-17
Revision:
8:5ede90f99a27
Parent:
4:08a0ff6668df
Child:
9:e6566d09f087

File content as of revision 8:5ede90f99a27:

#ifndef SPLASH_H
#define SPLASH_H

#include "mbed.h"
#include "Gamepad.h"
#include "N5110.h"
#include "Ball.h"


class Splash {
    public:
        /** Constructor */
        Splash();
        
        /** Destructor */
        ~Splash();
        
        void displayInfo(N5110 &lcd);
        
        void playIntro(N5110 &lcd,Ball &ball);
        
        void drawLogo(int x, int y, N5110 &lcd,Ball &ball);
        
        
    private:
    
    };
    
void draw_name(N5110 &lcd, Ball &ball);
void player_enter_animation(N5110 &lcd, Ball &ball);
void kick_animation(N5110 &lcd, Ball &ball);
void shot_animation(N5110 &lcd, Ball &ball);
void contrast_slide(N5110 &lcd);

#endif