LOLOOOOOOL
This commit is contained in:
parent
69adb14553
commit
88d92f1b96
4 changed files with 62 additions and 7 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue