protected abstract void Feed(Ant ant, int amount); //eating takes up a turn. It replenishes hunger to full protected abstract void PickUp(Ant ant); //the ant picks up and object. Picking up an object means that the object moves when this ant does
protected abstract void Eat(); //eating takes up a turn. It replenishes hunger to full protected abstract void Feed(Ant ant, int amount); //eating takes up a turn. It replenishes hunger to full
override protected void Feed(Ant ant, int amount)//eating takes up a turn. It replenishes hunger to full { StateProperty = State.Feeding; //take food from carrying amount and add it to the hunger of the ant being fed }
override protected void PickUp(Ant ant)//the ant picks up and object. Picking up an object means that the object moves when this ant does { //not used by queen }
override protected void Feed(Ant ant, int amount)//eating takes up a turn. It replenishes hunger to full { }