public override void Update(GameTime gameTime) { base.Update(gameTime); if (cubeTheOneAndOnly.IsActive == false) { cubeTheOneAndOnly.Respawn(); } }
public override void Update(GameTime gameTime) { base.Update(gameTime); if (!(GameObjects[GameObjects.Count - 1] is TopDownPlayer)) { GameObject temp = FindGameObject("Chell"); temp.Destroy(); AddGameObject(temp); } if (cubeID1.IsActive == false && cubeID1.IsRespawnable == true) { cubeID1.Respawn(); } }
private void ButtonID3_OnActivation(GameObject activator) { cubeID2.Respawn(); }