ColorRunner/core/src/de/samdev/colorrunner/game/world/entities/gameentities/PlayerEntity.java

20 lines
453 B
Java
Raw Normal View History

2014-08-10 17:19:40 +02:00
package de.samdev.colorrunner.game.world.entities.gameentities;
import de.samdev.colorrunner.game.world.entities.GravityEntity;
public class PlayerEntity extends GravityEntity {
public final static float PLAYER_WIDTH = 32;
public final static float PLAYER_HEIGHT = 32;
public PlayerEntity() {
super(PLAYER_WIDTH, PLAYER_HEIGHT);
}
@Override
public void update(float delta) {
super.update(delta);
moveBy(50 * delta, 50 * delta);
}
}