コード例 #1
0
 public override void Render()
 {
     SwinGame.FillRectangle(SwinGame.ColorTeal(), X, Y, _width, _height);
     SwinGame.DrawText(_weapon.Name, SwinGame.ColorBlack(), X, Y + _height / 2);
     if (GameMain.DEBUG)
     {
         SwinGame.DrawRectangle(SwinGame.ColorWhite(), CollisionBox.X, CollisionBox.Y, CollisionBox.Height, CollisionBox.Width);
     }
 }