collision

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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BulletHitBlockEventType = reflect.TypeOf(BulletHitBlockEvent{})

BulletHitBlockEventType is the reflect.Type of BulletHitBlockEventType

View Source
var MeshHitBlockEventType = reflect.TypeOf(MeshHitBlockEvent{})

MeshHitBlockEventType is the reflect.Type of MeshHitBlockEvent

View Source
var PlaneHitBlockEventType = reflect.TypeOf(PlaneHitBlockEvent{})

PlaneHitBlockEventType is the reflect.Type of PlaneHitBlockEvent

View Source
var RemoveTintEventType = reflect.TypeOf(RemoveTintEvent{})

RemoveTintEventType is the reflect.Type of RemoveTintEvent

Functions

func System

func System(engine *gosge.Engine) error

System create the map system

Types

type BulletHitBlockEvent

type BulletHitBlockEvent struct {
	Block component.Block
}

BulletHitBlockEvent is trigger when a bullet hit a block

type MeshHitBlockEvent

type MeshHitBlockEvent struct {
	Block component.Block
}

MeshHitBlockEvent is trigger when the mesh hit a block

type PlaneHitBlockEvent

type PlaneHitBlockEvent struct {
	Block component.Block
}

PlaneHitBlockEvent is trigger when the plane hit a block

type RemoveTintEvent

type RemoveTintEvent struct {
	// contains filtered or unexported fields
}

RemoveTintEvent is a event to remove a tint

Jump to

Keyboard shortcuts

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