evil-inside/src/ei/game/scene/units/Tank.java

20 lines
333 B
Java
Raw Normal View History

2007-04-04 14:44:25 +00:00
package ei.game.scene.units;
import ei.engine.math.Vector2f;
2007-04-04 14:44:25 +00:00
import ei.engine.scene.Sprite;
public class Tank extends Unit{
2007-04-04 16:28:57 +00:00
public Tank() {
2007-04-04 18:15:11 +00:00
this(0, 0);
2007-04-04 16:28:57 +00:00
}
2007-04-04 14:44:25 +00:00
2007-04-04 16:28:57 +00:00
public Tank(int x, int y){
2007-04-04 14:44:25 +00:00
super(10);
setSprite(new Sprite("Tank", "data/units/tank.png"));
getSprite().setSize(new Vector2f(50,37));
2007-04-04 14:44:25 +00:00
}
}