public void OnTileEvent(TileEvent tileEvent, Character character) { TileBehavior tileBehavior = _TileBehaviors[(int)tileEvent]; if (tileBehavior != null) { tileBehavior.Execute(character, this); } }