ProcessDragon ruft nun MapDragon auf
This commit is contained in:
@@ -289,14 +289,7 @@ namespace WorldOfPeacecraft
|
|||||||
|
|
||||||
private void ProcessDragon (Block dragonBlock)
|
private void ProcessDragon (Block dragonBlock)
|
||||||
{
|
{
|
||||||
//TODO -> Samed
|
backend.SetDragon(MapDragon(dragonBlock));
|
||||||
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"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private Dragon MapDragon (Block dragonBlock)
|
private Dragon MapDragon (Block dragonBlock)
|
||||||
|
|||||||
Reference in New Issue
Block a user