Caseus Tower
 All Classes Namespaces Files Functions Variables
player.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "entity.h"
4 
9 class Player : public Entity
10 {
11 private:
12  /*x velocity*/
13  float xVelocity;
14 public:
23  Player(float, float, int, int, int);
24 
28  ~Player();
29 
35  void setXVelocity(float);
36 
41  float getXVelocity();
42 
48  void updateX(float);
49 };
float getXVelocity()
float xVelocity
Definition: player.h:13
Player(float, float, int, int, int)
Creates an Entity object Creates an Entity object with all the information about the Entity...
Definition: entity.h:7
Creates an Player object that inherits Entity Creates an Player object that inherits Entity with a x ...
Definition: player.h:9
void setXVelocity(float)
void updateX(float)