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