Example #1
0
 public PickupCommand(Agent agent, PickupableObject pickupable) : base(new MoveCommand(agent, pickupable.GetPickupPosition(agent.transform.position)), new Command(agent, pickupable))
 {
 }
Example #2
0
 public Command(Agent agent, PickupableObject pickupable) : base(agent)
 {
     Pickupable = pickupable;
 }