define(ME.WALK_RIGHT, Input.KEY_RIGHT, Input.KEY_D);
}
public void setupAnimations(String ref) {
try {
setGraphic(new SpriteSheet(ref, WIDTH, HEIGHT));
duration = 150;
addAnimation(STAND_DOWN, false, 0, 0);
addAnimation(ME.WALK_DOWN, true, 0, 0, 1, 2, 3, 4, 5, 6, 7);
addAnimation(ME.WALK_UP, true, 1, 0, 1, 2, 3, 4, 5, 6, 7);
addAnimation(ME.WALK_RIGHT, true, 2, 0, 1, 2, 3, 4, 5);