Namespace: Grape2D

Grape2D

This is the main namespace.
Source:

Classes

AABB
AabbBVFactory
AliasingCamera
BVFactory
BVFactorySingleton
BVHStrategy
BVHStrategySingleton
BVHTree
Camera
Canvas
CanvasRenderer
Circle
CollisionChecker
CollisionCheckerSingleton
CollisionDispatcher
Emitter
Field
FollowingCamera
Game
GenericCollisionChecker
InputManager
InputManagerDragEvent
InputManagerEvent
InputManagerMouseEvent
ITexture
LagSimulator
Map
Matrix
MedianCutBVHStrategy
NetworkObject2D
Object2D
Particle
ParticleSystem
Polygon
Ray
Renderer
SATCollisionChecker
Scene
SceneGroup
SceneLayer
Shape
SimpleGame
SimpleMap
Snapshot
SnapshotEvent
SnapshotHistory
SnapshotManager
SnapshotManagerSingleton
SnapshotNetworkObject2D
Texture
TopDownBVHNode
TopDownBVHTree
Vector
VoidTexture
WASDController
WebSocket
WebSocketMetrics
WireframeRenderer

Namespaces

Math
utils

Members

<static> NODE :boolean

Constant that indicates if its not running in the browser. False if it's not, true if it is. This is "redeclared" to avoid variable NODE is undeclared type warnings at compile time.
Type:
  • boolean
Source:

<static, constant> version :string

Grape2D's version. It follows the http://semver.org/ protocol.
Type:
  • string
Source:

<static, constant> WINDOW :Object|Window

Window object. This is an empty object if the window variable is not defined.
Type:
  • Object | Window
Source:

Methods

<static> Object2DProcessor()

Processes objects. Visitor pattern.
Source: