SFML community forums
Bindings - other languages => DotNet => Topic started by: gabinir on April 09, 2011, 04:45:11 pm
-
In the original c++ version of sfml, i used a class called anim that inherit from Drawable.
Now it seems as if i have to implement abstract methods (as Drawable is abstract) such as:
public abstract Vector2 TransformToGlobal(Vector2 point);
public abstract Vector2 TransformToLocal(Vector2 point);
How do i use Drawable now, without having to implement those methods?
-
The drawable class is not meant to be derived in SFML.Net. Every function is abstract, I must simulate the original API's polymorphism that was lost in CSFML.
-
So how do i draw animations?
-
Do it without inheriting from Drawable ;)