Fix indentation so it looks okay on GitHub

master
BraydonKains 3 years ago
parent ff84687bc9
commit 531ffbf531

@ -1,19 +0,0 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="nunit" Version="3.12.0" />
<PackageReference Include="NUnit3TestAdapter" Version="3.15.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.4.0"/>
</ItemGroup>
<ItemGroup>
<ProjectReference Include="../SeeNoEvil/SeeNoEvil.csproj" />
</ItemGroup>
</Project>

@ -1,18 +0,0 @@
using NUnit.Framework;
namespace SeeNoEvil.Tests
{
public class Tests
{
[SetUp]
public void Setup()
{
}
[Test]
public void Test1()
{
Assert.Pass();
}
}
}

@ -1,5 +1,3 @@
using System;
using System.Collections.Generic;
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework;
namespace SeeNoEvil.Character { namespace SeeNoEvil.Character {

@ -1,9 +1,6 @@
using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq; using System.Linq;
using Microsoft.Xna.Framework; using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using SeeNoEvil.Character;
using SeeNoEvil.Tiled; using SeeNoEvil.Tiled;
namespace SeeNoEvil.Level { namespace SeeNoEvil.Level {

@ -1,11 +1,7 @@
using System.Collections.Generic; using Microsoft.Xna.Framework;
using System.Linq;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics; using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input; using Microsoft.Xna.Framework.Input;
using SeeNoEvil.Tiled;
using SeeNoEvil.Level; using SeeNoEvil.Level;
using SeeNoEvil.Character; using SeeNoEvil.Character;

@ -3,7 +3,6 @@ using Microsoft.Xna.Framework;
namespace SeeNoEvil.Tiled { namespace SeeNoEvil.Tiled {
public class TileSet { public class TileSet {
private string Image {get; set;} private string Image {get; set;}
private string Name {get; set;} private string Name {get; set;}
private int ImageHeight {get; set;} private int ImageHeight {get; set;}
@ -33,8 +32,7 @@ namespace SeeNoEvil.Tiled {
} }
public bool ContainsTile(uint gid) => public bool ContainsTile(uint gid) =>
!(gid < FirstGid || !(gid < FirstGid || gid > (FirstGid + TileCount - 1));
gid > (FirstGid + TileCount - 1));
public Tile GetTile(uint gid) { public Tile GetTile(uint gid) {
if(!TilesLoaded) LoadTiles(); if(!TilesLoaded) LoadTiles();

Loading…
Cancel
Save