C
C#2mo ago
TOLOXI

(MONOGAME )How to pass a method with parameters to the update method

i have 3 classes. player,map and game 1 i have a rectangle for my player and the plattfroms that are generated by a textfile. I made a method for them and tried passing it to the update method but it wont accept it since it got paramteres. How do i fix it?
No description
1 Reply
Evyr
Evyr2mo ago
Wdym by pass it to the update method? Are you trying to pass it as a function delegate, or call it from Update ?
Want results from more Discord servers?
Add your server