public EntityStateMachine(MovingEntityWithStates ownerVehicle, State startingState = null, State parentState = null)
 {
     OwnerEntity        = ownerVehicle;
     this.StartingState = startingState;
     this.ParentState   = parentState;
 }
Esempio n. 2
0
 public EntityState(EntityStateMachine ownerFiniteStateMachine)
 {
     this.ownerFiniteStateMachine = ownerFiniteStateMachine;
     OwnerEntity = ownerFiniteStateMachine.OwnerEntity;
 }