Exemplo n.º 1
0
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>());
		
}
Exemplo n.º 2
0
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;
		
}
Exemplo n.º 3
0
public Player(System.String name, GameStatistic statistics)
	{JustEntered = false;
 frame = World.frame;
		Statistics = statistics;
		Name = name;
		
}