mirror of
https://github.com/illiumst/marl-factory-grid.git
synced 2025-06-18 10:42:53 +02:00
17 lines
283 B
Python
17 lines
283 B
Python
from dataclasses import dataclass
|
|
from typing import Any
|
|
|
|
import numpy as np
|
|
|
|
|
|
@dataclass
|
|
class RenderEntity:
|
|
name: str
|
|
pos: np.array
|
|
value: float = 1
|
|
value_operation: str = 'none'
|
|
state: str = None
|
|
id: int = 0
|
|
aux: Any = None
|
|
real_name: str = 'none'
|