A game highly inspired by Rabi-Ribi being developed using a custom-developed Sig game engine from the ground up with a proper game studio!
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package sig.objects;
|
|
|
|
|
|
|
|
import sig.RabiClone;
|
|
|
|
import sig.engine.Object;
|
|
|
|
import sig.engine.Panel;
|
|
|
|
import sig.engine.Sprite;
|
|
|
|
|
|
|
|
public class Player extends Object{
|
|
|
|
|
|
|
|
public Player(Panel panel) {
|
|
|
|
super(panel);
|
|
|
|
this.setSprite(Sprite.NANA_SMALL);
|
|
|
|
setX(Math.random()*RabiClone.BASE_WIDTH);
|
|
|
|
setY(Math.random()*RabiClone.BASE_HEIGHT);
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void update(double updateMult) {
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void draw(int[] p) {
|
|
|
|
Draw_Sprite(this.getX(), this.getY(), this.getSprite());
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|