/// <summary> /// Moves the NPC to the appropriate floor and location based on the their expected location and position /// </summary> internal void MoveNPCToDefaultScheduledPosition(TimeOfDay timeOfDay) { CharacterPosition npcXy = NPCRef.Schedule.GetCharacterDefaultPositionByTime(timeOfDay); // the NPC is a non-NPC, so we keep looking if (npcXy.X == 0 && npcXy.Y == 0) { return; } Move(npcXy); }
/// <summary> /// Move the character to a new positon /// </summary> /// <param name="characterPosition"></param> internal void Move(CharacterPosition characterPosition) { CurrentCharacterPosition = characterPosition; }