I'm not entirely sure where to ask this, so my apologies if this is in the wrong spot.
In my game, each PlayerCharacter contains a list of attack elements (in other words, List<Attack>). I'd like to use the List's Find function to retrieve the proper Attack when the corresponding Button is clicked, but I'm not sure how the predicate function should be written. Basically, I have:
1 <asp:Button CommandName="BasicAttack" Text="Basic Attack" runat="server" />
As the general structure of my Buttons. I'd like to pass that CommandName into the PlayerCharacter like so:1 Button bu ...
Go to the complete details ...