From 2fbe2467aa907f323ce5fe7fa7f5ebc2ee93c8ba Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Fri, 16 Aug 2013 20:03:21 +0200 Subject: Enabled setting the Biome of the MapWidget --- mapwidget.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mapwidget.go') diff --git a/mapwidget.go b/mapwidget.go index cb6d3e1..a493c9a 100644 --- a/mapwidget.go +++ b/mapwidget.go @@ -112,6 +112,10 @@ func (mw *MapWidget) SetTool(t Tool) { mw.tool = t } +func (mw *MapWidget) SetBiome(bio mcmap.Biome) { + mw.bio = bio +} + func (mw *MapWidget) DArea() *gtk.DrawingArea { return mw.dArea } func (mw *MapWidget) doTileCmds() { -- cgit v1.2.3-54-g00ecf