mkRPG
Public Member Functions
GameObjectList< Type > Class Template Reference

The GameObjectList class enables to gather objects by types. More...

#include <game.h>

Inheritance diagram for GameObjectList< Type >:
GameObject

Public Member Functions

 GameObjectList (const QString &name, GameObject &parent)
bool isEditable () const
void addGameObject (Type &go)
void removeGameObject (int id)
QList< Type * > gameObjects ()
TypegameObject (int id)

Detailed Description

template<class Type>
class GameObjectList< Type >

The GameObjectList class enables to gather objects by types.

It is only provided for edition purpose and does not appear in XML files.


Member Function Documentation

template<class Type >
bool GameObjectList< Type >::isEditable ( ) const [inline, virtual]

Returns true if the GameObject is editable by the user.

Reimplemented from GameObject.


The documentation for this class was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Properties Defines