❔ Need help with an error

JJ0SH1/22/2023
So I'm working on a monogame project and I'm confused about with it's not accepting this as a unit
Image
TTheBoxyBear1/22/2023
What is the constructor for Fireball you're trying to call?
JJ0SH1/22/2023
here's image of my fireball constructor as well as it's parent class
ImageImage
JJ0SH1/22/2023
sorry for the lack of comments it's a bad habit i need to break
AAngius1/22/2023
Well, the method seems to be taking a Unit there
AAngius1/22/2023
But this refers to the current instance of MainChara
AAngius1/22/2023
Square peg does not fit a round hole
JJ0SH1/22/2023
that does make alot of sense
AAccord1/23/2023
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.