Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type HitBoxDrawComponent ¶
type HitBoxDrawComponent struct {
// contains filtered or unexported fields
}
func NewHitBoxDrawComponent ¶
func NewHitBoxDrawComponent(origin subjects.Originer, originAsCenter bool, width, height float64, opts ...HitBoxDrawOpt) *HitBoxDrawComponent
func (*HitBoxDrawComponent) Draw ¶
func (hb *HitBoxDrawComponent) Draw(screen *ebiten.Image, xOffset, yOffset float64)
func (*HitBoxDrawComponent) Update ¶
func (hb *HitBoxDrawComponent) Update() error
type HitBoxDrawOpt ¶
type HitBoxDrawOpt func(hb *HitBoxDrawComponent)
func HitBoxDrawColor ¶
func HitBoxDrawColor(c color.Color) HitBoxDrawOpt
type OriginDrawComponent ¶
type OriginDrawComponent struct {
// contains filtered or unexported fields
}
func NewOriginDrawComponent ¶
func NewOriginDrawComponent(origin subjects.Originer, opts ...OriginOpt) *OriginDrawComponent
func (*OriginDrawComponent) Draw ¶
func (oc *OriginDrawComponent) Draw(screen *ebiten.Image, xOffset, yOffset float64)
func (*OriginDrawComponent) Update ¶
func (oc *OriginDrawComponent) Update() error
Click to show internal directories.
Click to hide internal directories.