This is a big commit. Added mouse cursors and a load bar. Started whit the game. and many many other things
This commit is contained in:
parent
448fca2fdf
commit
4e7722fedb
34 changed files with 597 additions and 95 deletions
26
src/ei/game/scene/GameEntity.java
Normal file
26
src/ei/game/scene/GameEntity.java
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
package ei.game.scene;
|
||||
|
||||
public abstract class GameEntity{
|
||||
private int life;
|
||||
|
||||
public GameEntity(int l){
|
||||
life = l;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns the life
|
||||
*
|
||||
* @return The life
|
||||
*/
|
||||
public int getLife(){
|
||||
return life;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the life
|
||||
* @param l The life to set to
|
||||
*/
|
||||
public void setLife(int l){
|
||||
life = l;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue