public override void Create()
        {
            base.Create();
            MaxDamageTime = 2000;
            Size.set(new Vector2(120));

            if (MRockPointer == null)
            {
                MRockPointer = AssetManager.Load <Texture2D>("Textures/ShipGame/MRockPointer");
            }

            ShieldColor = new Color(0.5f, 0.5f, 1);
            ThreatLevel = 1.25f;

            if (GetTeam() == WaveManager.ActiveTeam)
            {
                UpdateMapPosition();
            }

            FactionManager.Factions[FactionNumber].MiningPlatformCount++;
            if (!UnitCommited)
            {
                UnitCommited = true;
                FactionManager.AddUnit(this);
            }
        }
 protected void CommitToFaction(int FactionNumber)
 {
     this.FactionNumber = FactionNumber;
     if (!UnitAdded)
     {
         FactionManager.AddUnit(this);
         UnitAdded = true;
     }
 }