public static void DrawPoint(Vector2f position) { if (cIndex < circles.Length) { circles[cIndex].Position = position; render.Draw(circles[cIndex]); cIndex++; } }
public override void Draw(RenderAdapter render) { convexShape.Position = drawableActor.Transform.Position.ToVector2f(); convexShape.Rotation = drawableActor.Transform.Rotation; //convexShape.Scale = drawableActor.Transform.Scale.ToVector2f(); render.Draw(convexShape); }
public override void Draw(RenderAdapter render) { sprite.Position = sceneActor.Transform.Position.ToVector2f(); sprite.Rotation = sceneActor.Transform.Rotation; sprite.Scale = Scale.ToVector2f(); render.Draw(sprite); }
public override void Draw(RenderAdapter render) { text.Position = text.Position = Transform.Position.ToVector2f(); base.Draw(render); render.Draw(text); }