original game? (reverted from commit 3fc6c98ea5)

Fixed overwrited code
This commit is contained in:
jancoow
2015-06-02 10:22:52 +02:00
parent 3fc6c98ea5
commit df207836e0
21 changed files with 647 additions and 363 deletions
+3 -6
View File
@@ -4,20 +4,17 @@ import image.Images;
import java.awt.Graphics2D;
import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;
import java.awt.image.BufferedImage;
public class Player extends DrawObject {
public class Player extends Person {
private BufferedImage img;
private AffineTransform transform;
private int lastindex;
private Point2D middlePoint;
public Player(int x, int y){
super();
img = Images.getImage(Images.ImageType.player2);
middlePoint = new Point2D.Double(x, y);
super(x,y);
img = Images.getImage(Images.ImageType.player2);
width = img.getWidth();
height = img.getHeight();
lastindex = -10;