コード例 #1
0
 public SharedLibary.Point2D ToWorld(SharedLibary.Point2D point)
 {
     return(PointWraper.FromSplashKit(SplashKit.ToWorld(PointWraper.ToSplashKit(point))));
 }
コード例 #2
0
 public void SetCamreaPostion(SharedLibary.Point2D point)
 {
     SplashKit.SetCameraPosition(PointWraper.ToSplashKit(point));
 }
コード例 #3
0
 public void SetCamreaPostion(SharedLibary.Point2D point)
 {
     SwinGame.SetCameraX((float)point.X);
     SwinGame.SetCameraY((float)point.Y);
 }
コード例 #4
0
 public SharedLibary.Point2D ToWorld(SharedLibary.Point2D point)
 {
     return(PointWraper.FromPoint2D(SwinGameSDK.SwinGame.ToWorld(PointWraper.ToPoint2D(point))));
 }
コード例 #5
0
 public static SplashKitSDK.Point2D ToSplashKit(SharedLibary.Point2D pt)
 {
     return(new SplashKitSDK.Point2D {
         X = pt.X, Y = pt.Y
     });
 }
コード例 #6
0
 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);
 }
コード例 #7
0
 public override void DrawPixel(SharedLibary.Colour color, SharedLibary.Point2D point)
 {
     SwinGame.DrawPixel(ToSwinGameColor(color), PointWraper.ToPoint2D(point));
 }