Cleanup
This commit is contained in:
@@ -135,7 +135,7 @@ public partial class GridViewport : Control
|
|||||||
|
|
||||||
private void DrawFallbackTerrainTile(Rect2 rect, int floorMask, float opacity)
|
private void DrawFallbackTerrainTile(Rect2 rect, int floorMask, float opacity)
|
||||||
{
|
{
|
||||||
var color = floorMask == c_AllCorners ? new Color(0.13f, 0.16f, 0.17f, opacity) : new Color(0.18f, 0.20f, 0.22f, opacity);
|
var color = floorMask == c_AllCorners ? new(0.13f, 0.16f, 0.17f, opacity) : new Color(0.18f, 0.20f, 0.22f, opacity);
|
||||||
DrawRect(rect, color);
|
DrawRect(rect, color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -2,11 +2,6 @@
|
|||||||
|
|
||||||
internal static class RobotSafetySystem
|
internal static class RobotSafetySystem
|
||||||
{
|
{
|
||||||
public static LevelState Resolve(LevelState level)
|
|
||||||
{
|
|
||||||
return level;
|
|
||||||
}
|
|
||||||
|
|
||||||
public static LevelState ResolveEntry(LevelState level)
|
public static LevelState ResolveEntry(LevelState level)
|
||||||
{
|
{
|
||||||
var surface = level.GetSurface(level.Robot.Position);
|
var surface = level.GetSurface(level.Robot.Position);
|
||||||
|
|||||||
Reference in New Issue
Block a user