Documentation ¶
Index ¶
Constants ¶
View Source
const ( HeaderSignature = "AC" ActionDefaultDelay = 100 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct { Frames []*ActionFrame Delay uint32 DurationMilliseconds uint32 }
type ActionFile ¶
type ActionFile struct { Header struct { Signature string Version float32 } ActionCount uint16 Actions []*Action Sounds []string }
func Load ¶
func Load(data []byte) (*ActionFile, error)
type ActionFrame ¶
type ActionFrame struct { Layers []*ActionFrameLayer Sound int32 Positions [][2]int32 }
Click to show internal directories.
Click to hide internal directories.