Fixed some naming conventions

This commit is contained in:
Licht 2014-11-18 13:45:51 +01:00
parent 51af2be9c6
commit a3a8d690e5
2 changed files with 18 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 967 B

View File

@ -0,0 +1,18 @@
package de.teamteamteam.spacescooter.entity.item;
import de.teamteamteam.spacescooter.entity.Player;
public class ItemOneUp extends Item {
public static int chance = 4;
public ItemOneUp(int x, int y) {
super(x, y);
this.setImage("images/items/itemOneUp.png");
}
@Override
public void itemCollected(Player player) {
player.setShieldPoints(player.getShieldPoints() + 5);
}
}