2023-11-24 04:02:08 +00:00
|
|
|
package shapes
|
|
|
|
|
|
|
|
type ObjectDefinition interface {
|
|
|
|
GetObjectId() uint16
|
|
|
|
GetSafeObject() ObjectDefinition
|
2023-11-26 01:32:53 +00:00
|
|
|
GetShapeList(p ObjectProperties) DrawPathList
|
|
|
|
}
|
|
|
|
|
|
|
|
type ObjectProperties struct {
|
2023-11-28 02:54:19 +00:00
|
|
|
Ratio float64
|
|
|
|
Visible bool
|
|
|
|
PlaceFrame int64
|
2023-11-26 01:32:53 +00:00
|
|
|
// Data can be any value internal to the object itself
|
|
|
|
Data any
|
2023-11-24 04:02:08 +00:00
|
|
|
}
|