From b44705d9e6e01dc8868e519b87ef8c89b2d1d08d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20V=C3=B6gele?= Date: Fri, 11 Apr 2014 11:34:34 +0200 Subject: [PATCH] ParsePlayer ruft jetzt MapPlayer auf --- src/Parser.cs | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/Parser.cs b/src/Parser.cs index 77b42fe..32224a0 100644 --- a/src/Parser.cs +++ b/src/Parser.cs @@ -262,13 +262,7 @@ namespace WorldOfPeacecraft private void ProcessPlayer (Block playerBlock) { - int points = playerBlock.GetIntValue ("points"); - int id = playerBlock.GetIntValue ("id"); - bool busy = playerBlock.GetBoolValue ("busy"); - string desc = playerBlock.GetStringValue ("desc"); - int x = playerBlock.GetIntValue ("x"); - int y = playerBlock.GetIntValue ("y"); - //Player p = new Player(points, id, busy, desc, x, y,); + backend.SetPlayer(MapPlayer(playerBlock)); } private void ProcessMapcell (Block mapcellBlock)