15 lines
287 B
Go
15 lines
287 B
Go
package gg
|
|
|
|
type Drawing struct {
|
|
EVertices []EVertice
|
|
}
|
|
|
|
// The interface describes anything that can be
|
|
// drawn. It will be drew corresponding to
|
|
// the layers order so the layer must be returned.
|
|
type Drawer interface {
|
|
Draw(Context) Drawing
|
|
GetLayer() Layer
|
|
IsVisible() bool
|
|
}
|
|
|