Player character library
PlayerChar.h@11:989df9be83dd, 2017-05-02 (annotated)
- Committer:
- isabelc
- Date:
- Tue May 02 14:46:26 2017 +0000
- Revision:
- 11:989df9be83dd
- Parent:
- 10:cfeef15cce27
- Child:
- 12:9bc551a4cab9
Doxygen commenting and other comments added throughout
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
isabelc | 1:219e18b8f20e | 1 | #ifndef PLAYERCHAR_H |
isabelc | 1:219e18b8f20e | 2 | #define PLAYERCHAR_H |
isabelc | 1:219e18b8f20e | 3 | |
isabelc | 0:bacbb9b6dbba | 4 | #include "mbed.h" |
isabelc | 0:bacbb9b6dbba | 5 | #include "N5110.h" |
isabelc | 1:219e18b8f20e | 6 | #include "Gamepad.h" |
isabelc | 1:219e18b8f20e | 7 | #include "Bitmap.h" |
isabelc | 0:bacbb9b6dbba | 8 | |
isabelc | 11:989df9be83dd | 9 | /** Player Character Class |
isabelc | 11:989df9be83dd | 10 | |
isabelc | 11:989df9be83dd | 11 | @brief Class containg bitmap for the player character. |
isabelc | 11:989df9be83dd | 12 | @brief Covers rendering the bitmap and charcter movement. |
isabelc | 11:989df9be83dd | 13 | |
isabelc | 11:989df9be83dd | 14 | @author Isabel Cousins |
isabelc | 11:989df9be83dd | 15 | @date 2nd May 2017 |
isabelc | 11:989df9be83dd | 16 | |
isabelc | 11:989df9be83dd | 17 | */ |
isabelc | 10:cfeef15cce27 | 18 | class PlayerChar{ |
isabelc | 3:315d21341563 | 19 | public: |
isabelc | 5:31713bfad54e | 20 | |
isabelc | 4:7bae458055bf | 21 | void update(N5110 &lcd, Gamepad &pad); |
isabelc | 4:7bae458055bf | 22 | |
isabelc | 8:e192166b28f9 | 23 | int getdex(); |
isabelc | 4:7bae458055bf | 24 | |
isabelc | 4:7bae458055bf | 25 | }; |
isabelc | 3:315d21341563 | 26 | |
isabelc | 1:219e18b8f20e | 27 | #endif |