diff options
author | mafaldo <mafaldo@heavyhammer.home> | 2018-02-10 15:12:05 +0100 |
---|---|---|
committer | mafaldo <mafaldo@heavyhammer.home> | 2018-02-10 15:12:05 +0100 |
commit | 0e8ebd8803718b37e9141649c6d8eb7036ec85ed (patch) | |
tree | 5b952c80b9d0616cf0bc7ba4243561352482e957 /src/main/java/Player.java | |
parent | Switch to gradle, update gitignore (diff) | |
download | Subconscious-old-0e8ebd8803718b37e9141649c6d8eb7036ec85ed.tar.gz Subconscious-old-0e8ebd8803718b37e9141649c6d8eb7036ec85ed.zip |
Implement actor, create player
Diffstat (limited to '')
-rw-r--r-- | src/main/java/Player.java | 8 |
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); + } +} |