fixed warnings
This commit is contained in:
parent
7e71ade965
commit
c400fd62fe
|
|
@ -15,6 +15,6 @@ public class Camera
|
|||
var scale = ctx.FrontendGameState.Settings.GameScale;
|
||||
var windowWidth = ctx.FrontendGameState.WindowWidth;
|
||||
var windowHeight = ctx.FrontendGameState.WindowHeight;
|
||||
this.Position = target - (new Vector2(windowWidth, windowHeight) / 2) / scale;
|
||||
this.Position = target - (new Vector2(windowWidth, windowHeight) / 2 / scale);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,3 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Mine2d.game.core;
|
||||
|
||||
public static class Debugger
|
||||
|
|
@ -11,4 +6,4 @@ public static class Debugger
|
|||
{
|
||||
Context.Get().FrontendGameState.DebugState.Messages.Enqueue(message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue