示例#1
0
    public void AssignSolidType(TileType tt)
    {
        _solidType = tt;
        TileTypeChanged tileChange = new TileTypeChanged();

        tileChange.ChangedTile = this;
        OnTileChange(tileChange);
    }
示例#2
0
    public void AssignFloorType(TileType tt)
    {
        _floorType = tt;
        TileTypeChanged tileChange = new TileTypeChanged();

        tileChange.ChangedTile = this;
        OnTileChange(tileChange);
    }
示例#3
0
    protected void OnTileChange(TileTypeChanged e)
    {
        EventHandler <TileTypeChanged> handler = TileTypeChangedEvent;

        if (handler != null)
        {
            handler(this, e);
        }
    }