]> git.lizzy.rs Git - dragonblocks-bedrock.git/blobdiff - src/player.h
Upload Files
[dragonblocks-bedrock.git] / src / player.h
diff --git a/src/player.h b/src/player.h
new file mode 100644 (file)
index 0000000..05034d5
--- /dev/null
@@ -0,0 +1,16 @@
+#ifndef _PLAYER_H_
+#define _PLAYER_H_
+#include "entity.h"
+#include "inventory.h"
+#define PLAYER_SPEED 4
+#define PLAYER_JUMPSPEED 6
+class Player : public Entity{
+       public:
+               void left();
+               void right();
+               void jump();
+               void stop();
+               Inventory *inventory;
+               Player();
+};
+#endif