2021-01-14 11:52:01 -06:00
|
|
|
#ifndef SPATIAL_H
|
|
|
|
#define SPATIAL_H
|
|
|
|
|
|
|
|
#include "Node.h"
|
|
|
|
#include "Transform.h"
|
|
|
|
|
2021-01-18 13:31:09 -06:00
|
|
|
class Spatial : public Node {
|
2021-01-14 11:52:01 -06:00
|
|
|
public:
|
|
|
|
Transform transform;
|
|
|
|
virtual bool IsTransformable() const { return true;}
|
2021-01-21 15:26:39 -06:00
|
|
|
virtual Name GetType() const;
|
2021-01-24 16:37:35 -06:00
|
|
|
virtual Spatial *Create();
|
|
|
|
virtual Spatial *Duplicate();
|
|
|
|
virtual Spatial *Instance();
|
2021-01-14 11:52:01 -06:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif /* SPATIAL_H */
|