Exemplo n.º 1
0
        public static void SetupShip()
        {
            if (IsSetupOfFirstShip())
            {
                ScanDeploymentZone();
            }

            DeploymentPlans currentDeploymentPlans = DeploymentPlans[Phases.CurrentSubPhase.RequiredPlayer];

            currentDeploymentPlans.SetupShip();
        }
Exemplo n.º 2
0
        private static void ScanDeploymentZone()
        {
            // Cleanup in case of old data
            if (DeploymentPlans.ContainsKey(Phases.CurrentSubPhase.RequiredPlayer))
            {
                DeploymentPlans.Remove(Phases.CurrentSubPhase.RequiredPlayer);
            }

            DeploymentPlans currentDeploymentPlans = new DeploymentPlans(Phases.CurrentSubPhase.RequiredPlayer);

            DeploymentPlans.Add(Phases.CurrentSubPhase.RequiredPlayer, currentDeploymentPlans);

            currentDeploymentPlans.CreatePlan();
        }