arsa  2.7
Public Member Functions | Public Attributes | List of all members
BBoxInfo Struct Reference

#include <cdxmotion.h>

Public Member Functions

 BBoxInfo ()
 
irr::core::stringc getTypeStr () const
 

Public Attributes

irr::core::stringc Event
 event in box More...
 
BYTE Type
 type of box CONTEXT, ATTACK More...
 
RECT Box
 size of box More...
 
CDX_Color Color
 box color, red = ATTACK, blue = CONTEXT More...
 
POINT CenterPos
 center position of sprite More...
 

Detailed Description

Definition at line 45 of file cdxmotion.h.

Constructor & Destructor Documentation

◆ BBoxInfo()

BBoxInfo::BBoxInfo ( )
inline

Definition at line 47 of file cdxmotion.h.

48  {
49  Type = CONTEXT;
50  }
#define CONTEXT
Definition: cdxmotion.h:42
BYTE Type
type of box CONTEXT, ATTACK
Definition: cdxmotion.h:57

Member Function Documentation

◆ getTypeStr()

irr::core::stringc BBoxInfo::getTypeStr ( ) const
inline

Definition at line 52 of file cdxmotion.h.

52 { return Type == CONTEXT ? "CONTEXT" : "ATTACK"; };
#define CONTEXT
Definition: cdxmotion.h:42
BYTE Type
type of box CONTEXT, ATTACK
Definition: cdxmotion.h:57

Member Data Documentation

◆ Box

RECT BBoxInfo::Box

size of box

Definition at line 59 of file cdxmotion.h.

◆ CenterPos

POINT BBoxInfo::CenterPos

center position of sprite

Definition at line 63 of file cdxmotion.h.

◆ Color

CDX_Color BBoxInfo::Color

box color, red = ATTACK, blue = CONTEXT

Definition at line 61 of file cdxmotion.h.

◆ Event

irr::core::stringc BBoxInfo::Event

event in box

Definition at line 52 of file cdxmotion.h.

◆ Type

BYTE BBoxInfo::Type

type of box CONTEXT, ATTACK

Definition at line 57 of file cdxmotion.h.


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