51 auto
onUpdate(
float dt) ->
void override;
57 auto load(
const Stream& stream) ->
void override;
58 auto save(
Stream& stream)
const ->
void override;
60 auto move(
float x,
float y) -> void;
63 auto x() const ->
float;
64 auto
y() const ->
float;
65 auto
z() const ->
float;
67 auto
setX(
float x) ->
void;
68 auto
setY(
float y) ->
void;
69 auto
setZ(
float z) ->
void;
78 auto
scale(
float x,
float y) ->
void;
auto to_json(json &j, const AudioObject &a) -> void
Definition AudioObject.cpp:376
auto from_json(const json &j, AudioObject &a) -> void
Definition AudioObject.cpp:387
sys::Json Stream
Definition AudioObject.h:20
The base class for components, holding all of their shared All components should inherit from this.
nlohmann::json json
Definition Json.cpp:19
ComponentTypeEnum
This enum lists out every type of component we have.
Definition Component.h:39
Component(ComponentTypeEnum type, const char *typeName)
Definition Component.cpp:72
GameObject(std::string typeName, gobj::Type parentType, gobj::Type type)
constructor for gameobject.
Definition GameObject.cpp:24
Definition AffineMatrix.h:30