Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed MotionSensor
Entity/Player/Player.h
- Committer:
- el17sm
- Date:
- 2019-04-23
- Revision:
- 11:63e54f6e7939
- Parent:
- 10:1a3499f6b583
- Child:
- 12:a1c1991835ca
File content as of revision 11:63e54f6e7939:
#ifndef PLAYER_H
#define PLAYER_H
#include "Entity.h"
class Player : public Entity {
public:
// Constructors
Player(float, float);
// Functions
virtual void move(float, float);
virtual void chkdmg();
void buttons(bool, bool, bool, bool);
};
const float player_speed = 1.2;
#endif