public MainGameHUD() { MarioEvents.OnReset += Reset; Score.Lives = initialLives; Score.marioScore = ZERO; Score.Coins = ZERO; Time = startTime; Score.enemyKilledPoints = new int[10] { 100, 200, 400, 500, 800, 1000, 2000, 4000, 8000, 10000 }; Score.marioEnemyKilledCount = ZERO; mario = MarioSpriteFactory.Instance.CreateSprite_MarioSmall_IdleRight(); mario.SetSpriteScreenPosition((640 / 2) + 175, (480 / 2) - 20); }
public ArenaGameHUD() { players = MarioGame.Instance.GetArenaPlayerList(); MarioEvents.OnReset += Reset; Score.Lives = marioLives; Score.marioScore = ZERO; Score.Coins = ZERO; Score.enemyKilledPoints = new int[10] { 100, 200, 400, 500, 800, 1000, 2000, 4000, 8000, 10000 }; Score.marioEnemyKilledCount = ZERO; mario = MarioSpriteFactory.Instance.CreateSprite_MarioSmall_IdleRight(); luigi = LuigiSpriteFactory.Instance.CreateSprite_LuigiSmall_IdleRight(); mario.SetSpriteScreenPosition((640 / 2) + 75, (480 / 2) - 20); luigi.SetSpriteScreenPosition((640 / 2) + 75, (480 / 2) - 20); }