Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public override void Update(GameTime gameTime) { base.Update(gameTime); MoveBackground(); DestroyPlatforms(); DestroyBullets(); spawnPlatforms(); spawnBullets(); score.AddMeters(METERS_PER_SECOND * player.getSpeedModifier()); if (checkDeath()) { GameOver.Score = score; Canabalt.GameStateManager.SwitchTo("GameOver"); } }