コード例 #1
0
 public void DrawBonus(Vector2f[] points, Vector2f[] visibleBonuses)
 {
     foreach (var point in points)
     {
         DrawGameUnitSprite(Sprites.BonusPoint(), point.X, point.Y);
     }
     foreach (var visibleBonus in visibleBonuses)
     {
         DrawGameUnitSprite(Sprites.Bonus(GetNumberDependingOnIndex <BonusSprite>(4)), visibleBonus.X, visibleBonus.Y);
     }
 }