16 lines
310 B
Go
16 lines
310 B
Go
package shapes
|
|
|
|
type ObjectDefinition interface {
|
|
GetObjectId() uint16
|
|
GetSafeObject() ObjectDefinition
|
|
GetShapeList(p ObjectProperties) DrawPathList
|
|
}
|
|
|
|
type ObjectProperties struct {
|
|
Ratio float64
|
|
Visible bool
|
|
PlaceFrame int64
|
|
// Data can be any value internal to the object itself
|
|
Data any
|
|
}
|