feat: add track classes
This commit is contained in:
		
							
								
								
									
										13
									
								
								src/track_object.py
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								src/track_object.py
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| from enum import StrEnum | ||||
|  | ||||
|  | ||||
| class TrackObjectType(StrEnum): | ||||
|     Road = "road" | ||||
|  | ||||
|  | ||||
| class TrackObject: | ||||
|     def __init__( | ||||
|         self, | ||||
|         type: TrackObjectType, | ||||
|     ) -> None: | ||||
|         self.type: TrackObjectType = type | ||||
		Reference in New Issue
	
	Block a user