Skip to content

package events

import "kaiju/systems/events"

Types

Event

struct

type Event struct {
    // Has unexported fields.
}

New

func New() Event

Event.Add

func (e *Event) Add(call func()) Id

Event.Execute

func (e *Event) Execute()

Event.IsEmpty

func (e Event) IsEmpty() bool

Event.Remove

func (e *Event) Remove(id Id)

Id

int64

type Id = int64