Wannabe RPG which failed because of some problem with planning

Dependencies:   Charachters N5110 Obstacles mbed

Committer:
el15lm
Date:
Thu May 04 08:59:43 2017 +0000
Revision:
1:e555e1af2f99
Parent:
0:111e3e4bea66
added Doxygen code commenting

Who changed what in which revision?

UserRevisionLine numberNew contents of line
el15lm 0:111e3e4bea66 1 #ifndef Map_H
el15lm 0:111e3e4bea66 2 #define Map_H
el15lm 0:111e3e4bea66 3
el15lm 0:111e3e4bea66 4 #include "Wall.h"
el15lm 0:111e3e4bea66 5 #include "Column.h"
el15lm 0:111e3e4bea66 6 #include "mbed.h"
el15lm 0:111e3e4bea66 7 #include "N5110.h"
el15lm 0:111e3e4bea66 8 #include "Gamepad.h"
el15lm 0:111e3e4bea66 9
el15lm 1:e555e1af2f99 10 /** Column.h
el15lm 1:e555e1af2f99 11 @brief This library all obstacles in one place.
el15lm 1:e555e1af2f99 12 */
el15lm 1:e555e1af2f99 13
el15lm 0:111e3e4bea66 14 class Map
el15lm 0:111e3e4bea66 15 {
el15lm 0:111e3e4bea66 16 private:
el15lm 0:111e3e4bea66 17
el15lm 0:111e3e4bea66 18 // Variables
el15lm 0:111e3e4bea66 19 int _Heigth;
el15lm 0:111e3e4bea66 20 int _Length;
el15lm 0:111e3e4bea66 21
el15lm 0:111e3e4bea66 22 public:
el15lm 0:111e3e4bea66 23
el15lm 0:111e3e4bea66 24 Map();
el15lm 0:111e3e4bea66 25 ~Map();
el15lm 0:111e3e4bea66 26
el15lm 0:111e3e4bea66 27 // Objects
el15lm 0:111e3e4bea66 28 Wall wall1;
el15lm 0:111e3e4bea66 29 Wall wall2;
el15lm 0:111e3e4bea66 30 Wall wall3;
el15lm 0:111e3e4bea66 31 Wall wall4;
el15lm 0:111e3e4bea66 32 Wall wall5;
el15lm 0:111e3e4bea66 33 Wall wall6;
el15lm 0:111e3e4bea66 34
el15lm 0:111e3e4bea66 35 Column column1;
el15lm 0:111e3e4bea66 36 Column column2;
el15lm 0:111e3e4bea66 37 Column column3;
el15lm 0:111e3e4bea66 38 Column column4;
el15lm 0:111e3e4bea66 39 Column column5;
el15lm 0:111e3e4bea66 40 Column column6;
el15lm 0:111e3e4bea66 41 Column column7;
el15lm 0:111e3e4bea66 42
el15lm 0:111e3e4bea66 43 // Methods
el15lm 0:111e3e4bea66 44 void init(int heigth,
el15lm 0:111e3e4bea66 45 int length);
el15lm 0:111e3e4bea66 46
el15lm 0:111e3e4bea66 47 void draw(N5110 &lcd);
el15lm 0:111e3e4bea66 48 };
el15lm 0:111e3e4bea66 49
el15lm 0:111e3e4bea66 50 #endif