event

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var InteractionEvent = events.NewEventType[*Interaction]()
View Source
var MoveEvent = events.NewEventType[*Move]()
View Source
var PointsEvent = events.NewEventType[*Points]()

Functions

This section is empty.

Types

type Interaction

type Interaction struct {
	Position component.Position
	Button   ebiten.MouseButton
}

type Move

type Move struct {
	Position component.Position
	Player   component.Turn
}

type Points

type Points struct {
	Amount float32
	Target component.Oponent
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL