Exemplo n.º 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;
 }
Exemplo n.º 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);
 }