score

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2020 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PointsEventType = reflect.TypeOf(PointsEvent{})

PointsEventType is the reflect.Type of PointsEvent

Functions

func System

func System(engine *gosge.Engine, gs geometry.Scale, dr geometry.Size) error

System create the score system

Types

type PointsEvent

type PointsEvent struct {
	Total int
	At    geometry.Point
}

PointsEvent is trigger when new points need to be added

Jump to

Keyboard shortcuts

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