コード例 #1
0
        private void InputHistory_InputAdded()
        {
            HistoricalInput historical = InputHistory.History.Last();

            if (historical.ActionSelected == ActionSelected.None && historical.Selected.Count == 1)
            {
                Point2D mapLocation = historical.Selected[0].MapLocation;
                Living  creature    = WorldUtil.GetCreature(mapLocation, RenderInfo.Dimension);

                if (creature != null)
                {
                    CharacterMenu.Initialize(creature);
                }
            }
        }