//similar to Activate Missile public static Ship ActivateShip() { ShipMan pShipMan = ShipMan.PrivInstance(); Debug.Assert(pShipMan != null); Ship pShip = new Ship(GameObject.Name.Ship, GameSprite.Name.Ship, 200, 60); pShipMan.poShip = pShip; GameObject pShipRoot = GONodeMan.Find(GameObject.Name.ShipRoot); Debug.Assert(pShipRoot != null); pShipRoot.Add(pShipMan.poShip); SpriteBatch pSB_Aliens = SpriteBatchMan.Find(SpriteBatch.Name.Aliens); SpriteBatch pSB_Boxes = SpriteBatchMan.Find(SpriteBatch.Name.Boxes); pShipMan.poShip.ActivateGameSprite(pSB_Aliens); pShipMan.poShip.ActivateCollisionSprite(pSB_Boxes); pShipMan.TakeLife(1); return(pShipMan.poShip); }