コード例 #1
0
        private void MoveCharacterNorth(Label CurrentTile)
        {
            Tile  currentTile    = _tileLogic.GetTileByLabelName(CurrentTile.Name);
            Label northTileLabel = _tileLogic.GetLabelByTileName(currentTile.NorthTileName);

            if (currentTile.North == true)
            {
                PlayerCharacter.CurrentTileLocation = currentTile.NorthTileName;
                CurrentTile.Text    = "";
                northTileLabel.Text = "X";
            }
        }