We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8b2333d commit b0711e3Copy full SHA for b0711e3
4 files changed
stlib/__init__.py
@@ -1 +1 @@
1
-__all__ = ["misc"]
+__all__ = ["core","simulated"]
stlib/core/parameters.py
@@ -4,7 +4,7 @@
4
#defaultValueType
5
6
@dataclasses.dataclass
7
-class PrefabParameters(object):
+class EntityParameters(object):
8
name : str = "Prefab"
9
kwargs : dict = dataclasses.field(default_factory=dict)
10
stlib/simulated/deformable.py
@@ -1,5 +1,6 @@
from stlib.core.entity import Entity
2
from stlib.core.parameters import EntityParameters
3
+
import dataclasses
class Deformable(Entity):
stlib/simulated/rigid.py
@@ -0,0 +1,9 @@
+from stlib.core.entity import Entity
+from stlib.core.parameters import EntityParameters
+import dataclasses
+class Rigid(Entity):
+ def __init__(self, **kwargs):
+ Entity.__init__(self, **kwargs)
0 commit comments