isWall hinzugefügt

This commit is contained in:
Daniel Herrmann
2014-04-03 13:12:39 +02:00
parent b8f41e1ee5
commit 3fe8858732
2 changed files with 35 additions and 21 deletions

View File

@@ -1,20 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Frontend
{
/// <summary>
/// Interface that should be implemented by your class that represents one field in the grid.
/// It has to provide methods to check for its properties, which are independed from the way you actually store those properties.
/// </summary>
public interface ITile : IPositionable
{
bool isWalkable();
bool isForest();
bool isHuntable();
bool isWater();
}
}
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Frontend
{
/// <summary>
/// Interface that should be implemented by your class that represents one field in the grid.
/// It has to provide methods to check for its properties, which are independed from the way you actually store those properties.
/// </summary>
public interface ITile : IPositionable
{
bool isWalkable();
bool isWall();
bool isForest();
bool isHuntable();
bool isWater();
}
}