Brunot
Loading...
Searching...
No Matches
GameObject.h File Reference

the base class for the engine, most things inherit from this. More...

#include <string>
#include <memory>
#include "System/Json.h"
#include "Utility/Messages/Message.h"
Include dependency graph for GameObject.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  GameObject
 the base class for the engine, most things inherit from this. More...
class  GameObject::Key
 a Key class to be used as a key when holding GameObjects (or unique pointers to game objects) in <key, value> datasets More...

Namespaces

namespace  sys
 the type of elements in a basic_json container
namespace  gobj
 namespace for things relating to GameObject, other than GameObject itself

Typedefs

using gobj::UUID = unsigned int
using RenderLayer = unsigned int

Enumerations

enum class  gobj::Type {
  gobj::null_obj_type = 0 , gobj::no_parent_type = 100 , gobj::Engine = 200 , gobj::Root = 300 ,
  gobj::Node = 400 , gobj::ChildrenHandler = 500 , gobj::System = 600 , gobj::Entity = 700 ,
  gobj::Component = 800 , gobj::Action = 900
}

Functions

auto gobj::operator< (const GameObject &lhs, const GameObject &rhs) -> bool
 default comparator for gameobjects.

Variables

static unsigned int ObjectCount = 0

Detailed Description

the base class for the engine, most things inherit from this.

an abstract class

Author
Aidan Hartman (aidan.nosp@m..har.nosp@m.tman@.nosp@m.digi.nosp@m.pen.e.nosp@m.du) base implementation
Marcelo Escamilla (marce.nosp@m.lo.e.nosp@m.scamm.nosp@m.illa.nosp@m.@digi.nosp@m.pen..nosp@m.edu) JSON serialization
Date
2024/09/11

Typedef Documentation

◆ RenderLayer

using RenderLayer = unsigned int

Variable Documentation

◆ ObjectCount

unsigned int ObjectCount = 0
static