Stigl
MonoGame - inheritance implementation.
Same applies to things like Draw method inside Bullet etc. you can eighter call the function directly without having to cast it trough the child method, or just redirect it (it should be more optimized) like this
public override void Draw(SpriteBatch pSpriteBatch) => base.Draw(pSpriteBatch);
19 replies