From 594213d336b4b10e5d7b5b515e123b388e9cc59e Mon Sep 17 00:00:00 2001 From: 17mgeffert Date: Wed, 25 May 2016 08:58:47 -0400 Subject: [PATCH] added fields and methods to player class --- src/tanks/Tanks.java | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/src/tanks/Tanks.java b/src/tanks/Tanks.java index 81b5bbe..b6e82bb 100644 --- a/src/tanks/Tanks.java +++ b/src/tanks/Tanks.java @@ -7,9 +7,10 @@ package tanks; +import java.awt.event.KeyEvent; +import java.util.ArrayList; import javax.swing.JFrame; import javax.swing.JPanel; -import java.util.ArrayList; public class Tanks { @@ -52,6 +53,20 @@ public class Tanks */ private class Player extends Living { + Turret t; + + void move() + { + + } + void updateDir(KeyEvent e) + { + + } + void shoot() + { + + } }