Discover Packages
github.com/elemir/gloomo
node
package
Version:
v0.0.0-...-8db07eb
Opens a new window with list of versions in this module.
Published: Feb 12, 2025
License: LGPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package node implements standard render-time aggregates.
Render-time aggregates should be synced with a typical logic-time models
only with some system.
type DrawFunc func(gid .ID , *ebiten.Image)
DrawFunc is a callback for drawing specific node type.
Node is a basic render-time component. All render-time repositories should create a node inside.
type Sprite struct {
Image *ebiten.Image
Position image .Point
ZIndex int
Mirror bool
}
Sprite is a basic useful render-time aggregate that incapsulate an image rendering.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.