Game codes for Pokemon Academy Yiu Fai Kwok - 201198802 I have read the University Regulations on Plagiarism and state that the work covered by this declaration is my own and does not contain any unacknowledged work from other sources.

Dependencies:   mbed FXOS8700CQ mbed-rtos

Start/Start.h

Committer:
yfkwok
Date:
2019-04-03
Revision:
2:464c7e62d97d
Child:
5:bc0691d02fd5

File content as of revision 2:464c7e62d97d:

#ifndef START_H
#define START_H

#include "N5110.h"
#include "Gamepad.h"
#include "Charmander.h"
#include "Squirtle.h"
#include "Bulbasaur.h"

class Start
{

public:
    Start();
    ~Start();

    void init();
    void starter_update(Gamepad &pad);
    void starter_draw(N5110 &lcd);
    Vector2D update_select(Gamepad &pad);
    int update_animation_b(Gamepad &pad);
    int update_animation_c(Gamepad &pad);
    int update_animation_s(Gamepad &pad);
    int update_alt();
    void set_pos(Vector2D p);
    void set_pos_csb(int pos_cy, int pos_sy, int pos_by);
    void set_alt(int alt);
    int get_select(Vector2D p);
    void intro(int select,Gamepad &pad, N5110 &lcd);
    
private:
    Charmander _c1;
    Squirtle _s1;
    Bulbasaur _b1;
    int _pos_x;
    int _pos_y;
    int _pos_cy;
    int _pos_sy;
    int _pos_by;
    int _alt;
};

#endif