I have an Animation class that has a Sprite-Array, and of course a Sprite class that defines the actual texture.
I want to have my Entity a fixed Sprite or an Animation, when getting the Sprite and an Animation has been set,
returning the current Sprite.
How is this easily possible? Thought of an interface "ISprite" that only has a void GetSprite(); but this looks arwful and
it would be better to have in implicit...can one define an implicit operator in an interface?
Thank for your help, Phil.
Edited by PhilObyte, 12 July 2013 - 01:42 PM.