diff --git a/src/Parser.cs b/src/Parser.cs index 1574b13..ff96710 100644 --- a/src/Parser.cs +++ b/src/Parser.cs @@ -206,9 +206,18 @@ namespace WorldOfPeacecraft } - private void ProcessPlayer (Block block) + 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,); } + //"points:",INT, "id:",INT,"type:Player","busy:"BOOLEAN,"desc:"STRING,"x:",INT,"y:",INT, + private void ProcessYourid (Block block) {