Documentation ¶
Index ¶
- type Icon
- func (icon *Icon) Invoke(usr *types.Datum, name string, parameters ...types.Value) types.Value
- func (icon *Icon) Render(state string, dir common.Direction) (iconname string, frames []SourceXY, sourceWidth, sourceHeight uint)
- func (icon *Icon) SetVar(name string, value types.Value)
- func (icon *Icon) String() string
- func (icon *Icon) Var(name string) types.Value
- type IconCache
- type SourceXY
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Icon ¶
type Icon struct {
// contains filtered or unexported fields
}
type IconCache ¶
type IconCache struct {
// contains filtered or unexported fields
}
func NewIconCache ¶
func NewIconCache(pack *resourcepack.ResourcePack) (*IconCache, error)
func (*IconCache) LoadOrPanic ¶
Click to show internal directories.
Click to hide internal directories.