30 lines
478 B
C#
30 lines
478 B
C#
using System.Collections.Generic;
|
|
|
|
namespace WorldOfPeacecraft
|
|
{
|
|
public interface IBackend
|
|
{
|
|
ITile[,] GetMap();
|
|
|
|
IEnumerable<IPositionable> GetPlayers();
|
|
|
|
IEnumerable<IPositionable> GetDragons();
|
|
|
|
IEnumerable<IChatMessage> GetChatMessages();
|
|
|
|
void SendChatMessage (string message);
|
|
|
|
void SendCommand (string command);
|
|
|
|
void moveUp();
|
|
|
|
void moveDown();
|
|
void moveLeft();
|
|
void moveRight();
|
|
|
|
void StartThreads();
|
|
|
|
void Stop();
|
|
}
|
|
}
|