refactor: standardize object type identification using uLibTypeMacro and update serialization macros
This commit is contained in:
@@ -60,6 +60,7 @@ private:
|
||||
|
||||
class Material : public Object {
|
||||
public:
|
||||
uLibTypeMacro(Material, Object)
|
||||
|
||||
enum State {
|
||||
Undefined = 0,
|
||||
@@ -68,8 +69,6 @@ public:
|
||||
Gas
|
||||
};
|
||||
|
||||
virtual const char* GetClassName() const override { return "Geant.Material"; }
|
||||
|
||||
Material();
|
||||
Material(const char *name);
|
||||
~Material();
|
||||
|
||||
Reference in New Issue
Block a user