package d2ui import ( "github.com/OpenDiablo2/OpenDiablo2/d2common/d2interface" ) // Drawable represents an instance that can be drawn type Drawable interface { Render(target d2interface.Surface) error Advance(elapsed float64) error GetSize() (width, height int) SetPosition(x, y int) GetPosition() (x, y int) GetVisible() bool SetVisible(visible bool) }