mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2026-07-15 23:31:52 +02:00
Some Dokumentation (tools.py)
This commit is contained in:
@@ -19,10 +19,8 @@ class MarlFrameStack(gym.ObservationWrapper):
|
||||
@dataclass
|
||||
class RenderEntity:
|
||||
"""
|
||||
TODO
|
||||
|
||||
|
||||
:return:
|
||||
This class defines the interface to communicate with the Renderer. Name and pos are used to load an asset file
|
||||
named name.png and place it at the given pos.
|
||||
"""
|
||||
name: str
|
||||
pos: np.array
|
||||
@@ -37,10 +35,8 @@ class RenderEntity:
|
||||
@dataclass
|
||||
class Floor:
|
||||
"""
|
||||
TODO
|
||||
|
||||
|
||||
:return:
|
||||
This class defines Entity like Floor-Objects, which do not come with the overhead.
|
||||
Solely used for field-of-view calculation.
|
||||
"""
|
||||
|
||||
@property
|
||||
|
||||
Reference in New Issue
Block a user