public Planet(UnityPlanet up, GameStatistic statistics, Option<Player> owner) {JustEntered = false; frame = World.frame; UnityPlanet = up; Statistics = statistics; Owner = owner; MinApproachingDist = 0.5f; LocalFleets = 0; LandingFleets = ( Enumerable.Empty<LandingFleet>()).ToList<LandingFleet>(); InboundFleets = ( Enumerable.Empty<Fleet>()).ToList<Fleet>(); Battle = (new Nothing<Battle>()); }
public Fleet(GameStatistic statistics, System.Int32 ships, Player owner, UnityEngine.Vector3 position, Link link) {JustEntered = false; frame = World.frame; UnityFleet = UnityFleet.Instantiate(position,link.Destination.Position); Statistics = statistics; Ships = ships; Owner = owner; Link = link; }
public Player(System.String name, GameStatistic statistics) {JustEntered = false; frame = World.frame; Statistics = statistics; Name = name; }