Exemple #1
0
 protected UnturnedBuildable(IBuildableAsset asset, IWorldTransform transform, IBuildableState state,
                             IOwnership ownership, string buildableInstanceId)
 {
     Asset               = asset;
     Transform           = transform;
     State               = state;
     Ownership           = ownership;
     BuildableInstanceId = buildableInstanceId;
 }
Exemple #2
0
 public StateMachineBuilder()
 {
     _root = new TState();
 }
Exemple #3
0
 public StateBuilder(string name, TParentBuilder parentBuilder, IBuildableState parent)
 {
     ParentBuilder = parentBuilder;
     ContractState = new TState();
     parent.AddChild(name, ContractState);
 }