예제 #1
0
    public void OnTileEvent(TileEvent tileEvent, Character character)
    {
        TileBehavior tileBehavior = _TileBehaviors[(int)tileEvent];

        if (tileBehavior != null)
        {
            tileBehavior.Execute(character, this);
        }
    }