public SharedLibary.Point2D ToWorld(SharedLibary.Point2D point) { return(PointWraper.FromSplashKit(SplashKit.ToWorld(PointWraper.ToSplashKit(point)))); }
public void SetCamreaPostion(SharedLibary.Point2D point) { SplashKit.SetCameraPosition(PointWraper.ToSplashKit(point)); }
public void SetCamreaPostion(SharedLibary.Point2D point) { SwinGame.SetCameraX((float)point.X); SwinGame.SetCameraY((float)point.Y); }
public SharedLibary.Point2D ToWorld(SharedLibary.Point2D point) { return(PointWraper.FromPoint2D(SwinGameSDK.SwinGame.ToWorld(PointWraper.ToPoint2D(point)))); }
public static SplashKitSDK.Point2D ToSplashKit(SharedLibary.Point2D pt) { return(new SplashKitSDK.Point2D { X = pt.X, Y = pt.Y }); }
public override void DrawText(SharedLibary.Colour color, SharedLibary.Point2D point, SharedLibary.Font font, string text) { SwinGame.DrawText(text, ToSwinGameColor(color), GetSwinGameFont(font), (float)point.X, (float)point.Y); }
public override void DrawPixel(SharedLibary.Colour color, SharedLibary.Point2D point) { SwinGame.DrawPixel(ToSwinGameColor(color), PointWraper.ToPoint2D(point)); }