CollisionShape

Defines a shape for collision detection.

Constructors

this
this(Box position, Bitmap1Bit shape)

Creates a collision shape.

Members

Variables

position
Box position;

Position of the shape in the 2D space.

shape
Bitmap1Bit shape;

The shape defined by a 1 bit bitmap. Null if custom shape isn't needed

Meta