Wände werden nun mit runden ecken gezeichnet

This commit is contained in:
2014-05-12 18:26:19 +02:00
parent 094d989b84
commit cc87c551eb
18 changed files with 197 additions and 22 deletions

52
src/Gui/Dummytile.cs Normal file
View File

@@ -0,0 +1,52 @@
namespace WorldOfPeacecraft
{
// A ITile always returning it is a wall and 0,0 as position
public class Dummytile : ITile
{
private static Dummytile Instance = new Dummytile();
public Dummytile ()
{
}
public static Dummytile GetInstance()
{
return Instance;
}
public bool IsWall()
{
return true;
}
public bool IsWalkable()
{
return false;
}
public bool IsWater()
{
return false;
}
public bool IsForest()
{
return false;
}
public bool IsHuntable()
{
return false;
}
public int GetX()
{
return 0;
}
public int GetY ()
{
return 0;
}
}
}