public void Draw() { _ticks = SwinGame.TimerTicks(_gameTime) / 100; SwinGame.DrawSprite(_sideBar); _gameLife.Draw(); if (winStar == 0) { SwinGame.DrawSprite(star1); SwinGame.DrawSprite(star2); SwinGame.DrawSprite(star3); } else if (winStar == 1) { SwinGame.DrawSprite(star4); SwinGame.DrawSprite(star2); SwinGame.DrawSprite(star3); } else if (winStar == 2) { SwinGame.DrawSprite(star4); SwinGame.DrawSprite(star5); SwinGame.DrawSprite(star3); } else if (winStar == 3) { SwinGame.DrawSprite(star4); SwinGame.DrawSprite(star5); SwinGame.DrawSprite(star6); } _holdingFoodFrame.Draw(); }
public void Draw() { _ticks = SwinGame.TimerTicks(_gameTime) / 100; SwinGame.DrawSprite(_sideBar); _gameLife.Draw(); _holdingFoodFrame.Draw(); }