Backend gibt nun Nachrichten an Parser weiter
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System.Net.Sockets;
|
||||
using System.Collections.Generic;
|
||||
using WorldOfPeacecraft;
|
||||
|
||||
@@ -5,22 +6,28 @@ namespace Frontend
|
||||
{
|
||||
public class Backend : IBackend
|
||||
{
|
||||
private Receiver Rec;
|
||||
private Parser Parse;
|
||||
private TcpClient Client;
|
||||
|
||||
public Backend ()
|
||||
{
|
||||
// Unsere Main-Methode
|
||||
Parse = new Parser();
|
||||
Client = new TcpClient("localhost",9999);
|
||||
Rec = new Receiver(Client, Parse);
|
||||
}
|
||||
|
||||
public List<Dragon> getDragons()
|
||||
public List<IPositionable> getDragons()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public List<Player> getPlayers()
|
||||
public List<IPositionable> getPlayers()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
public Tile[][] getMap()
|
||||
public ITile[][] getMap()
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user