ELEC2645 (2019/20) / Mbed 2 deprecated ELEC2645_PROJECT_EL18KK

Dependencies:   mbed

SplashScreen/Splash.h

Committer:
KaifK
Date:
2020-05-16
Revision:
4:08a0ff6668df
Parent:
3:f86c1cf90d0d
Child:
8:5ede90f99a27

File content as of revision 4:08a0ff6668df:

#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 kick_animation(N5110 &lcd, Ball &ball);
void shot_animation(N5110 &lcd, Ball &ball);
void contrast_slide(N5110 &lcd);

#endif