init, thx MrExtremez

This commit is contained in:
Nicola Paolucci
2019-06-18 15:04:35 -04:00
commit ea51313125
2488 changed files with 150207 additions and 0 deletions
@@ -0,0 +1,38 @@
package redone.game.players;
public class PlayerAction {
Client c;
public PlayerAction(Client c) {
this.c = c;
}
public boolean inAction = false;
public boolean canWalk = true;
public boolean canEat = true;
public boolean setAction(boolean action) {
return inAction = action;
}
public boolean checkAction() {
return inAction;
}
public boolean canWalk(boolean walk) {
return canWalk = walk;
}
public boolean checkWalking() {
return canWalk;
}
public boolean canEat(boolean eat) {
return canEat = eat;
}
public boolean checkEating() {
return canEat;
}
}