CUGL 2.5
Cornell University Game Library
|
#include <CUPhysObstEvent.h>
Public Member Functions | |
BoolConsts () | |
Public Attributes | |
bool | isStatic |
bool | isEnabled |
bool | isAwake |
bool | isSleepingAllowed |
bool | isFixedRotation |
bool | isBullet |
bool | isSensor |
A class representing the additional boolean constants in an obstacle.
The boolean attribute changes less frequently, so we pack their changes into a single event.
cugl::physics2::net::PhysObstEvent::BoolConsts::BoolConsts | ( | ) |
Creates a new constants group with default values
bool cugl::physics2::net::PhysObstEvent::BoolConsts::isAwake |
Whether this obstacle is awake
bool cugl::physics2::net::PhysObstEvent::BoolConsts::isBullet |
Whether this obstacle is a bullet
bool cugl::physics2::net::PhysObstEvent::BoolConsts::isEnabled |
Whether this obstacle is enabled
bool cugl::physics2::net::PhysObstEvent::BoolConsts::isFixedRotation |
Whether this obstacle should be prevented from rotating
bool cugl::physics2::net::PhysObstEvent::BoolConsts::isSensor |
Whether this obstacle is a sensor
bool cugl::physics2::net::PhysObstEvent::BoolConsts::isSleepingAllowed |
Whether this obstacle is allowed to sleep
bool cugl::physics2::net::PhysObstEvent::BoolConsts::isStatic |
Whether this obstacle is static