public AgentModel(int instanceId, string area) { movableNode = new MovableObjectNode(); traitList = new List <TraitTypeInfo>(); this.instanceId = instanceId; //currentSefira = area; currentSefira = "0"; SetCurrentSefira(area); movableNode.SetCurrentNode(MapGraph.instance.GetSepiraNodeByRandom(area)); }
public void SetCurrentNode(MapNode node) { movableNode.SetCurrentNode(node); }