aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java/Player.java
diff options
context:
space:
mode:
authormafaldo <mafaldo@heavyhammer.home>2018-02-10 15:12:05 +0100
committermafaldo <mafaldo@heavyhammer.home>2018-02-10 15:12:05 +0100
commit0e8ebd8803718b37e9141649c6d8eb7036ec85ed (patch)
tree5b952c80b9d0616cf0bc7ba4243561352482e957 /src/main/java/Player.java
parentSwitch to gradle, update gitignore (diff)
downloadSubconscious-old-0e8ebd8803718b37e9141649c6d8eb7036ec85ed.tar.gz
Subconscious-old-0e8ebd8803718b37e9141649c6d8eb7036ec85ed.zip
Implement actor, create player
Diffstat (limited to '')
-rw-r--r--src/main/java/Player.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/main/java/Player.java b/src/main/java/Player.java
new file mode 100644
index 0000000..1e9d0b7
--- /dev/null
+++ b/src/main/java/Player.java
@@ -0,0 +1,8 @@
+import java.awt.Dimension;
+
+public class Player extends Actor {
+
+ public Player(String name, Dimension gridSize) {
+ super(name, 100, Actor.Type.PLAYER);
+ }
+}