예제 #1
0
 public override StateAction hydrate <T>(T source)
 {
     this.fleet = tryCoerce <T, Fleet>(source);
     base._Init();
     return(this);
 }
예제 #2
0
 public static string FleetName(this Fleet fleet)
 {
     return(fleet.state.namedState.name);
 }
예제 #3
0
 public override StateAction hydrate <T>(T source)
 {
     fleet = tryCoerce <T, Fleet>(source);
     return(fleet.patrol(Array.ConvertAll(targets, (i) => (Vector3)i)));
 }
예제 #4
0
 public static bool isUsers(this Fleet fleet)
 {
     return(fleet.state.factionOwnedState.belongsTo.value.isUsers);
 }