Files
inf3/src/Backend.cs

44 lines
647 B
C#

using System.Net.Sockets;
using System.Collections.Generic;
using WorldOfPeacecraft;
namespace Frontend
{
public class Backend : IBackend
{
private Receiver Rec;
private Parser Parse;
private TcpClient Client;
public Backend ()
{
Parse = new Parser();
Client = new TcpClient("localhost",9999);
Rec = new Receiver(Client, Parse);
}
public List<IPositionable> getDragons()
{
return null;
}
public List<IPositionable> getPlayers()
{
return null;
}
public ITile[][] getMap()
{
return null;
}
public void sendCommand(string command)
{
}
public void sendChat(string message)
{
}
}
}