input

package
v0.0.0-...-21449c0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type System

type System struct {
	akara.BaseSystem

	InputState    *vector.Vector
	MousePosition mathlib.Vector2
	Components    struct {
		Interactive interactive.ComponentFactory
	}
	// contains filtered or unexported fields
}

System is responsible for handling interactive entities

func (*System) Init

func (m *System) Init(_ *akara.World)

Init initializes the system with the given world, injecting the necessary components

func (*System) IsInitialized

func (m *System) IsInitialized() bool

func (*System) Name

func (m *System) Name() string

func (*System) Update

func (m *System) Update()

Update will iterate over interactive entities

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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