ProcessDragon ruft nun MapDragon auf

This commit is contained in:
2014-04-10 21:10:24 +02:00
parent 2a28de556b
commit 06e0af9ec3

View File

@@ -289,14 +289,7 @@ namespace WorldOfPeacecraft
private void ProcessDragon (Block dragonBlock)
{
//TODO -> Samed
int id = dragonBlock.GetIntValue("id");
bool busy = dragonBlock.GetBoolValue("busy");
string desc = dragonBlock.GetStringValue("desc");
int x = dragonBlock.GetIntValue("x");
int y = dragonBlock.GetIntValue("y");
//Dragon d p = new Dragon(id, busy, desc, x, y);
//DRAGON: "begin:dragon", "id:",INT,"type:Dragon","busy:"BOOLEAN,"desc:"STRING,"x:",INT,"y:",INT,"end:dragon"
backend.SetDragon(MapDragon(dragonBlock));
}
private Dragon MapDragon (Block dragonBlock)