The sale button of the OpenRA game developed by C#

The function of the creation window on the right has been analyzed before. When the player has built a lot of items, for some reason, the built items need to be sold, and some gold coins need to be recovered in order to build more attack power.

From the picture above, you can see that there are four buttons on the top. The first symbol of money is the button to sell items; the second is the button for maintenance; the third is to place signal marks so that allies can detect them; the fourth is The button is an option button.

In this article, let’s first analyze and study the first Sell button, which is the sell button.

              Image@SIDEBAR_BACKGROUND:

                     X: WINDOW_RIGHT - WIDTH - 5

Guess you like

Origin blog.csdn.net/caimouse/article/details/131715958