package com.rs2.game.players;

public class PlayerAction {

	Player c;

	public PlayerAction(Player player) {
		this.c = player;
	}

	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;
	}
}
