Player Library

Committer:
ll14c4p
Date:
Mon Apr 24 08:51:58 2017 +0000
Revision:
0:a88279bdf8c0
Child:
1:933b7aa73bbc
Added Empty Libraries;

Who changed what in which revision?

UserRevisionLine numberNew contents of line
ll14c4p 0:a88279bdf8c0 1 #include Player.h
ll14c4p 0:a88279bdf8c0 2
ll14c4p 0:a88279bdf8c0 3 Player::Player()
ll14c4p 0:a88279bdf8c0 4 {
ll14c4p 0:a88279bdf8c0 5
ll14c4p 0:a88279bdf8c0 6 }
ll14c4p 0:a88279bdf8c0 7
ll14c4p 0:a88279bdf8c0 8 Player::~Player()
ll14c4p 0:a88279bdf8c0 9 {
ll14c4p 0:a88279bdf8c0 10
ll14c4p 0:a88279bdf8c0 11 }
ll14c4p 0:a88279bdf8c0 12
ll14c4p 0:a88279bdf8c0 13
ll14c4p 0:a88279bdf8c0 14 void Player::draw(N5110 &lcd)
ll14c4p 0:a88279bdf8c0 15 {
ll14c4p 0:a88279bdf8c0 16 int _sprite[3][3] = {
ll14c4p 0:a88279bdf8c0 17 {1,0,1},
ll14c4p 0:a88279bdf8c0 18 {1,1,1},
ll14c4p 0:a88279bdf8c0 19 {1,1,1}};
ll14c4p 0:a88279bdf8c0 20 lcd.drawSprite(_x,_y,_rows,_cols,_sprite);
ll14c4p 0:a88279bdf8c0 21 }