Game for Leeds University Gamepad for the FRDM-K64F: Game is a RPG Horror Title.

Dependencies:   mbed FATFileSystem

Committer:
rottenegg
Date:
Fri Apr 26 02:31:11 2019 +0000
Revision:
10:4fda7b01484a
Parent:
9:ac396c818874
Child:
13:95323e0f2fcb
CaMove: Added Additional Chaser Character Model.; SceneCreator: Added RNG input to cause Minor Changes.; SceneFunctions: Added Scene 2, 3 Functions.; Ready For Main GAME MANAGER...

Who changed what in which revision?

UserRevisionLine numberNew contents of line
rottenegg 9:ac396c818874 1 #ifndef SCENEFUNCTIONS_H
rottenegg 9:ac396c818874 2 #define SCENEFUNCTIONS_H
rottenegg 9:ac396c818874 3
rottenegg 9:ac396c818874 4 #include "mbed.h"
rottenegg 9:ac396c818874 5 #include "N5110.h"
rottenegg 9:ac396c818874 6 #include "CaMove.h"
rottenegg 9:ac396c818874 7
rottenegg 9:ac396c818874 8 class SceneFunctions {
rottenegg 9:ac396c818874 9 public :
rottenegg 9:ac396c818874 10 //constructor functions
rottenegg 9:ac396c818874 11 void set_buttonPin(PinName pin);
rottenegg 9:ac396c818874 12 void deletebutton();
rottenegg 9:ac396c818874 13 //Ultility Functions
rottenegg 9:ac396c818874 14 void transition(N5110 &lcd);
rottenegg 9:ac396c818874 15 void lockin(N5110 &lcd);
rottenegg 9:ac396c818874 16 void flash(N5110 &lcd);
rottenegg 9:ac396c818874 17 //scene 0 Functions
rottenegg 9:ac396c818874 18 void set_scene0(CaMove &CM);
rottenegg 9:ac396c818874 19 //pre functions objs
rottenegg 9:ac396c818874 20 void obj0_scene0(N5110 &lcd);
rottenegg 9:ac396c818874 21 //pos functions events
rottenegg 9:ac396c818874 22 void event0_scene0(N5110 &lcd);
rottenegg 9:ac396c818874 23 void event1_scene0(N5110 &lcd);
rottenegg 9:ac396c818874 24 //scene 1 Functions
rottenegg 9:ac396c818874 25 void set_scene1(CaMove &CM);
rottenegg 9:ac396c818874 26 //pre
rottenegg 9:ac396c818874 27 void obj0_scene1(N5110 &lcd);
rottenegg 9:ac396c818874 28 void obj1_scene1(N5110 &lcd);
rottenegg 9:ac396c818874 29 //pos
rottenegg 9:ac396c818874 30 void event0_scene1(N5110 &lcd);
rottenegg 9:ac396c818874 31 void event1_scene1(N5110 &lcd);
rottenegg 10:4fda7b01484a 32 //Scene2 Functions
rottenegg 10:4fda7b01484a 33 void set_scene2(CaMove &CM);
rottenegg 10:4fda7b01484a 34 //pre functions
rottenegg 10:4fda7b01484a 35 void obj0_scene2(N5110 &lcd);
rottenegg 10:4fda7b01484a 36 void obj1_scene2(N5110 &lcd,int rng);
rottenegg 10:4fda7b01484a 37 //pos functions
rottenegg 10:4fda7b01484a 38 void event0_scene2(N5110 &lcd,CaMove &CM);
rottenegg 10:4fda7b01484a 39 //Scene 3 Function
rottenegg 10:4fda7b01484a 40 void set_scene3(CaMove &CM);
rottenegg 10:4fda7b01484a 41 //pre function
rottenegg 10:4fda7b01484a 42 void obj0_scene3(N5110 &lcd);
rottenegg 10:4fda7b01484a 43 void obj1_scene3(N5110 &lcd);
rottenegg 10:4fda7b01484a 44 void obj3_scene3(N5110 &lcd);
rottenegg 10:4fda7b01484a 45 void obj4_scene3(N5110 &lcd);
rottenegg 10:4fda7b01484a 46 //pos function
rottenegg 10:4fda7b01484a 47 void event0_scene3(N5110 &lcd);
rottenegg 10:4fda7b01484a 48 void event1_scene3(N5110 &lcd);
rottenegg 10:4fda7b01484a 49 void event2_scene3(N5110 &lcd);
rottenegg 10:4fda7b01484a 50 void event3_scene3(N5110 &lcd,CaMove &CM);
rottenegg 10:4fda7b01484a 51
rottenegg 10:4fda7b01484a 52
rottenegg 10:4fda7b01484a 53
rottenegg 10:4fda7b01484a 54
rottenegg 9:ac396c818874 55 private :
rottenegg 9:ac396c818874 56 DigitalIn *_BOK;
rottenegg 10:4fda7b01484a 57 int _progress;
rottenegg 10:4fda7b01484a 58 bool _p[3];
rottenegg 9:ac396c818874 59
rottenegg 9:ac396c818874 60 };
rottenegg 9:ac396c818874 61
rottenegg 9:ac396c818874 62 #endif