fixed warnings

This commit is contained in:
MasterGordon 2023-01-04 15:28:43 +01:00
parent 7e71ade965
commit c400fd62fe
2 changed files with 2 additions and 7 deletions

View File

@ -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);
}
}

View File

@ -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);
}
}
}