CollisionShape

Defines a shape for collision detection.

Constructors

this
this(Coordinate position, Bitmap1bit shape)

default CTOR

Members

Variables

position
Coordinate 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