Game Develop Core: gd::ObjectGroup Class Reference

| Game Develop Core Core library for developing platforms and tools compatible with Game Develop.

- Main Page
- Modules
- Classes

- Class List
- Class Index
- Class Hierarchy

All Classes Files Functions Variables Typedefs Enumerations Macros Groups Pages
Public Member Functions | Static Public Member Functions | List of all members
gd::ObjectGroup Class Reference
Platform Definition ( Classes defining the common concepts used by all platforms )

Represents an object group. More...

`#include <ObjectGroup.h>`

## Public Member Functions

bool | Find (const std::string &name) const
| Return true if an object is found inside the ObjectGroup.
void | AddObject (const std::string &name)
| Add an object name to the group.
void | RemoveObject (const std::string &name)
| Remove an object name from the group.
const std::string & | GetName () const
| Get group name.
void | SetName (const std::string &name_)
| Change group name.
const std::vector< std::string > & | GetAllObjectsNames () const
| Get a vector with objects names.

## Static Public Member Functions

static void | LoadFromXml (std::vector< gd::ObjectGroup > &list, const TiXmlElement *elem)
static void | SaveToXml (const std::vector< gd::ObjectGroup > &list, TiXmlElement *grpsobjets)

## Detailed Description

Represents an object group.

Objects groups do not really contains objects : They are just used in events, so as to create events which can be applied to several objects.

See Also
  gd::GroupHasTheSameName

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

- ObjectGroup.h
- ObjectGroup.cpp