In my code when I do:
mySprite.position = new Vector2(x, y);
I have this error:
Error: struct dsfml.system.vector2.Vector2(T) if (isNumeric!T) is used as a type
dmd failed with exit code 1.
x and y are int.
What's incorrect ? What should I do ?
i'm using DSFML 2.1