public void OnClick(WorldTileControl tileControl, MouseButtonEventArgs e) { if (tileControl.EnemyCount + _enemyDelta < 0) { tileControl.EnemyCount = 0; } else { tileControl.EnemyCount += _enemyDelta; } }
public void OnClick(WorldTileControl tileControl, MouseButtonEventArgs e) { tileControl.TileType = (TileType)_editor.TileTypeSelector.SelectedValue; }