Exemple #1
0
 public override void Added()
 {
     base.Added();
     Type       = "Ship";
     ShipCenter = Image.CreateRect(64, 64, FP.Color(0xffffff));
     ShipCenter.CenterOO();
     X = FP.HalfWidth;
     Y = FP.HalfHeight;
 }
Exemple #2
0
 public override void Added()
 {
     base.Added();
     World.Add(new Part(this, 1, 0, 0));
     Type       = "EmptyShip";
     ShipCenter = Image.CreateRect(64, 64, FP.Color(0xffffff));
     ShipCenter.CenterOO();
     X = FP.Rand(SpaceWorld.WorldLength);
     Y = FP.Rand(SpaceWorld.WorldHeight);
 }