Xrb::Engine2 Namespace Reference

Contains all of the 2D-engine-specific code. More...


Classes

class  Compound
class  Entity
class  EventEntity
class  Object
class  ObjectLayer
class  PhysicsHandler
struct  Polygon
class  QuadTree
class  Sprite
class  VisibilityQuadTree
class  World
class  WorldView
class  WorldViewWidget

Typedefs

typedef Uint32 EntityWorldIndex
typedef Entity *(* CreateEntityFunction )(Serializer &)
typedef std::vector< Object
const * > 
TransparentObjectVector

Enumerations

enum  ObjectType {
  OT_OBJECT = 0,
  OT_SPRITE,
  OT_COMPOUND,
  OT_COUNT
}
 Denotes all possible types of Object (subclasses).
enum  QuadTreeType {
  QTT_VISIBILITY = 0,
  QTT_PHYSICS_HANDLER,
  QTT_COUNT
}
 Enumerates the different types of quadtree owners which can be stored in the owner quad tree array in Engine2::Object. More...
enum  { ENTITY_IS_NOT_IN_WORLD = static_cast<EntityWorldIndex>(-1) }

Functions

bool MatchEntity (Event const *event, Entity *entity_to_match)


Detailed Description

Contains all of the 2D-engine-specific code.

Contains all of the "server side" code, i.e. the game world, collision detection, physics, any other code that directly uses the contents of the game world, as well as the WorldView and WorldViewWidget components of the render stack.

Everything provided by libxrb in the Engine2 namespace is stored in the /lib/engine2/ directory, with the exception of WorldView and WorldViewWidget (client-side components), which are stored in /lib/render/.


Enumeration Type Documentation

Enumerates the different types of quadtree owners which can be stored in the owner quad tree array in Engine2::Object.

Enumerator:
QTT_VISIBILITY  Indicates the quadtree in Engine2::ObjectLayer, used for visibility culling.
QTT_PHYSICS_HANDLER  Indicates a quadtree that may be used in PhysicsHandler implementations.
QTT_COUNT  Gives the total number of quad tree types.

Definition at line 36 of file xrb_engine2_enums.hpp.


Hosted by SourceForge.net Logo -- Generated on Fri Aug 21 21:46:39 2009 for XuqRijBuh by doxygen 1.5.8