ProcessPlayer() geschrieben

This commit is contained in:
Wafa Sadri
2014-04-10 12:13:43 +02:00
parent 4833752a4b
commit 966039fbb2

View File

@@ -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) private void ProcessYourid (Block block)
{ {