예제 #1
0
    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));
    }
예제 #2
0
 public void SetCurrentNode(MapNode node)
 {
     movableNode.SetCurrentNode(node);
 }