Library for 3.2'' uLcd Picaso Display4D system Picaso Serial Environment Command Set web: http://www.4dsystems.com.au/product/20/67/Processors_Graphics/PICASO/
Diff: Player.h
- Revision:
- 1:a74e42cf52b2
diff -r 65fd8b1cbf86 -r a74e42cf52b2 Player.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Player.h Sun Apr 05 13:54:48 2015 +0000 @@ -0,0 +1,38 @@ +#ifndef PLAYER_H +#define PLYER_H + +#include "mbed.h" +#include <string> + +class Player +{ +public: + + Player(string _strName="None"); + + ~Player(void); + +//setter et getter + int getLives(void) const; + int getScore(void) const; + int getCount(void) const; + string getName(void) const; + + + void setLives(int _lives); + void setScore(int _score); + void setCount(int _count); + + void decLives(void); + void incCount(void); + +protected: + +string myName; +int myLives; +int myScore; +int myCount; + +}; + +#endif \ No newline at end of file