phaser

package
v0.0.0-...-d169b41 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2017 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetGlobalConst

func GetGlobalConst(key string) int

func GetKeyboardKey

func GetKeyboardKey(key string) int

func WrapCanvasRenderingContext2D

func WrapCanvasRenderingContext2D(o *js.Object) dom.CanvasRenderingContext2D

func WrapHTMLCanvasElement

func WrapHTMLCanvasElement(o *js.Object) dom.HTMLCanvasElement

func WrapHTMLVideoElement

func WrapHTMLVideoElement(o *js.Object) dom.HTMLVideoElement

Types

type ArrayBuffer

type ArrayBuffer struct{ *js.Object }

type AudioContext

type AudioContext struct{ *js.Object }

type BitmapFont

type BitmapFont struct{ *js.Object }

type Blob

type Blob struct{ *js.Object }

type CreatureAnimation

type CreatureAnimation struct{ *js.Object }

type CreatureManager

type CreatureManager struct{ *js.Object }

type CustomState

type CustomState struct {
	*js.Object
	State interface{}
}

func WrapState

func WrapState(state interface{}) *CustomState

type DOMElement

type DOMElement dom.Element

func WrapDOMElement

func WrapDOMElement(o *js.Object) DOMElement

type Emitter

type Emitter struct{ *js.Object }

type Float32Array

type Float32Array struct{ *js.Object }

type ImageData

type ImageData struct{ *js.Object }

type KeyboardEvent

type KeyboardEvent struct{ *js.Object }

type MediaStream

type MediaStream struct{ *js.Object }

type MouseEvent

type MouseEvent struct{ *js.Object }

type P2Body

type P2Body struct{ *js.Object }

type P2Box

type P2Box struct{ *js.Object }

type P2Capsule

type P2Capsule struct{ *js.Object }

type P2Circle

type P2Circle struct{ *js.Object }

type P2ContactMaterial

type P2ContactMaterial struct{ *js.Object }

type P2Line

type P2Line struct{ *js.Object }

type P2LinearSpring

type P2LinearSpring struct{ *js.Object }

type P2Particle

type P2Particle struct{ *js.Object }

type P2Plane

type P2Plane struct{ *js.Object }

type P2Rectangle

type P2Rectangle struct{ *js.Object }

type P2RotationalSpring

type P2RotationalSpring struct{ *js.Object }

type P2Shape

type P2Shape struct{ *js.Object }

type P2World

type P2World struct{ *js.Object }

type PIXICanvasBuffer

type PIXICanvasBuffer CanvasBuffer

type PIXIDisplayObjectContainer

type PIXIDisplayObjectContainer DisplayObjectContainer

type PIXIGraphics

type PIXIGraphics Graphics

type PIXIMatrix

type PIXIMatrix Matrix

type PIXIPoint

type PIXIPoint Point

PIXI

type PIXIStage

type PIXIStage Stage

type PIXITexture

type PIXITexture Texture

type PhaserGame

type PhaserGame Game

type PhysicsBox2D

type PhysicsBox2D struct{ *js.Object }

Physics

type PhysicsChipmunk

type PhysicsChipmunk struct{ *js.Object }

type PhysicsCollisionGroup

type PhysicsCollisionGroup struct{ *js.Object }

type PhysicsMatter

type PhysicsMatter struct{ *js.Object }

type PhysicsP2Constraint

type PhysicsP2Constraint struct{ *js.Object }

type PointerEvent

type PointerEvent struct{ *js.Object }

type RenderSession

type RenderSession struct{ *js.Object }

type TouchEvent

type TouchEvent struct{ *js.Object }

type Uint16Array

type Uint16Array struct{ *js.Object }

type Uint32Array

type Uint32Array struct{ *js.Object }

type Uint8ClampedArray

type Uint8ClampedArray struct{ *js.Object }

type Weapon

type Weapon struct{ *js.Object }

type WebGLContext

type WebGLContext webgl.Context

func WrapWebGLContext

func WrapWebGLContext(o *js.Object) WebGLContext

type XMLDocument

type XMLDocument struct{ *js.Object }

type XMLHttpRequest

type XMLHttpRequest struct{ *js.Object }

Jump to

Keyboard shortcuts

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