-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathland_waypoint.py
More file actions
28 lines (23 loc) · 823 Bytes
/
land_waypoint.py
File metadata and controls
28 lines (23 loc) · 823 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
"""This file holds the SeaWaypoint class, which stores one SeaWaypoint from the waypoints_sea file.
Classes:
LandWaypoint
"""
class LandWaypoint:
"""This class stores the data for one LandWaypoint
Attributes:
name: str | The game-name of this waypoint
alighnment: str | The default Alignment of this waypoint
connected_to_waypoints: list[str] | The list of land waypoints this one is connected to
invaded_by: list[str] | The list of "invaded by" types
"""
def __init__(
self,
name: str,
alignment: str,
connected_to_waypoints: list[str],
invaded_by: list[str],
):
self.name = name
self.alignment = alignment
self.connected_to_waypoints = connected_to_waypoints
self.invaded_by = invaded_by