LOLOOOOOOL

This commit is contained in:
Jesper Lundin 2007-04-04 16:28:57 +00:00
parent 69adb14553
commit 88d92f1b96
4 changed files with 62 additions and 7 deletions

View file

@ -4,8 +4,11 @@ import ei.engine.math.Vector2f;
import ei.engine.scene.Sprite;
public class Tank extends Unit{
public Tank() {
this(5, 5);
}
public Tank(){
public Tank(int x, int y){
super(10);
setSprite(new Sprite("Tank", "data/units/tank.png"));
getSprite().setLocation(new Vector2f(200, 200));