core

package
v0.0.0-...-3b1d20f Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Andromeda

type Andromeda struct {
	Width, Height float32
	Title         string

	EntityManager                  entity.Manager
	OnLoadContext, OnUpdateContext AndromedaContextCallback
	Frameless                      bool
	// contains filtered or unexported fields
}

Andromeda Basic Structure

func (*Andromeda) GetMeta

func (andromeda *Andromeda) GetMeta() *Meta

GetMeta Getter

func (*Andromeda) GetWindow

func (andromeda *Andromeda) GetWindow() *glfw.Window

GetWindow Getter

func (*Andromeda) Run

func (andromeda *Andromeda) Run() *Andromeda

Run bundles everithing

type AndromedaContextCallback

type AndromedaContextCallback func(andromeda *Andromeda)

AndromedaContextCallback .

type Meta

type Meta struct {
	Elapsed      float64
	PreviousTime float64
	Time         float64
}

Meta dataset for andromeda internal

func (*Meta) GetElapsed

func (meta *Meta) GetElapsed() float64

GetElapsed .

func (*Meta) GetPreviousTime

func (meta *Meta) GetPreviousTime() float64

GetPreviousTime .

func (*Meta) GetTime

func (meta *Meta) GetTime() float64

GetTime .

Jump to

Keyboard shortcuts

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