CUGL 2.5
Cornell University Game Library
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
cugl::physics2::net::PhysObstEvent::BoolConsts Class Reference

#include <CUPhysObstEvent.h>

Public Member Functions

 BoolConsts ()
 

Public Attributes

bool isStatic
 
bool isEnabled
 
bool isAwake
 
bool isSleepingAllowed
 
bool isFixedRotation
 
bool isBullet
 
bool isSensor
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ BoolConsts()

cugl::physics2::net::PhysObstEvent::BoolConsts::BoolConsts ( )

Creates a new constants group with default values

Member Data Documentation

◆ isAwake

bool cugl::physics2::net::PhysObstEvent::BoolConsts::isAwake

Whether this obstacle is awake

◆ isBullet

bool cugl::physics2::net::PhysObstEvent::BoolConsts::isBullet

Whether this obstacle is a bullet

◆ isEnabled

bool cugl::physics2::net::PhysObstEvent::BoolConsts::isEnabled

Whether this obstacle is enabled

◆ isFixedRotation

bool cugl::physics2::net::PhysObstEvent::BoolConsts::isFixedRotation

Whether this obstacle should be prevented from rotating

◆ isSensor

bool cugl::physics2::net::PhysObstEvent::BoolConsts::isSensor

Whether this obstacle is a sensor

◆ isSleepingAllowed

bool cugl::physics2::net::PhysObstEvent::BoolConsts::isSleepingAllowed

Whether this obstacle is allowed to sleep

◆ isStatic

bool cugl::physics2::net::PhysObstEvent::BoolConsts::isStatic

Whether this obstacle is static


The documentation for this class was generated from the following file: