Ketchup Engine
Loading...
Searching...
No Matches
CollidableGroup Class Reference

#include <CollidableGroup.h>

Collaboration diagram for CollidableGroup:
Collaboration graph

Public Types

using CollidableList = std::list< Collidable * >
 
using CollidableListRef = CollidableList::iterator
 

Public Member Functions

 CollidableGroup ()=delete
 
 CollidableGroup (CollisionManager::ColTypeID id)
 
 CollidableGroup (const CollidableGroup &)=delete
 
CollidableGroupoperator= (const CollidableGroup &)=delete
 
 ~CollidableGroup ()
 
void Register (Collidable *co)
 
void Deregister (Collidable *co)
 
CollisionManager::ColTypeID GetTypeID ()
 

Private Member Functions

CollidableListGetCollidableList ()
 

Private Attributes

CollisionManager::ColTypeID m_id
 
CollidableList m_collidables
 

Friends

class CollidableGroupAttorney
 

Member Typedef Documentation

◆ CollidableList

◆ CollidableListRef

using CollidableGroup::CollidableListRef = CollidableList::iterator

Constructor & Destructor Documentation

◆ CollidableGroup() [1/3]

CollidableGroup::CollidableGroup ( )
delete

◆ CollidableGroup() [2/3]

CollidableGroup::CollidableGroup ( CollisionManager::ColTypeID  id)

◆ CollidableGroup() [3/3]

CollidableGroup::CollidableGroup ( const CollidableGroup )
delete

◆ ~CollidableGroup()

CollidableGroup::~CollidableGroup ( )
inline

Member Function Documentation

◆ Deregister()

void CollidableGroup::Deregister ( Collidable co)

◆ GetCollidableList()

CollidableGroup::CollidableList & CollidableGroup::GetCollidableList ( )
private

◆ GetTypeID()

CollisionManager::ColTypeID CollidableGroup::GetTypeID ( )

◆ operator=()

CollidableGroup & CollidableGroup::operator= ( const CollidableGroup )
delete

◆ Register()

void CollidableGroup::Register ( Collidable co)

Friends And Related Function Documentation

◆ CollidableGroupAttorney

friend class CollidableGroupAttorney
friend

Member Data Documentation

◆ m_collidables

CollidableList CollidableGroup::m_collidables
private

◆ m_id

CollisionManager::ColTypeID CollidableGroup::m_id
private

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