From 0e8ebd8803718b37e9141649c6d8eb7036ec85ed Mon Sep 17 00:00:00 2001 From: mafaldo Date: Sat, 10 Feb 2018 15:12:05 +0100 Subject: Implement actor, create player --- src/main/java/Player.java | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 src/main/java/Player.java (limited to 'src/main/java/Player.java') 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); + } +} -- cgit v1.2.1