Browse Source

added fields and methods to player class

pull/1/head
17mgeffert 8 years ago
parent
commit
594213d336
1 changed files with 16 additions and 1 deletions
  1. +16
    -1
      src/tanks/Tanks.java

+ 16
- 1
src/tanks/Tanks.java View File

@ -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()
{
}
}

Loading…
Cancel
Save