Update the doc
This commit is contained in:
@ -66,28 +66,24 @@ class Expansion:
|
||||
|
||||
@property
|
||||
def players(self):
|
||||
""" Players that have access to this expansion. """
|
||||
""" Players that have access to the expansion. """
|
||||
return self._manager.config[self._ID]["players"]
|
||||
|
||||
@players.setter
|
||||
def players(self, newPlayers):
|
||||
""" Players that have access to this expansion. """
|
||||
self._manager.config[self._ID]["players"] = tuple(newPlayers)
|
||||
self._manager.expansionPlayersChanged(self._ID)
|
||||
self._manager.expansionPlayersChanged(self._ID, newPlayers)
|
||||
|
||||
@players.deleter
|
||||
def players(self):
|
||||
self._manager.config[self._ID]["players"] = ()
|
||||
self._manager.expansionPlayersChanged(self._ID)
|
||||
self._manager.expansionPlayersChanged(self._ID, ())
|
||||
|
||||
@property
|
||||
def tags(self):
|
||||
""" Players that have access to this expansion. """
|
||||
""" Tags of the expansion. """
|
||||
return self._manager.config[self._ID]["tags"]
|
||||
|
||||
@tags.setter
|
||||
def tags(self, newPlayers):
|
||||
""" Players that have access to this expansion. """
|
||||
self._manager.config[self._ID]["tags"] = tuple(newPlayers)
|
||||
|
||||
@tags.deleter
|
||||
@ -96,9 +92,6 @@ class Expansion:
|
||||
|
||||
@abc.abstractmethod
|
||||
def step(self, action):
|
||||
"""
|
||||
Call close if an error is thrown
|
||||
"""
|
||||
raise NotImplementedError
|
||||
|
||||
@abc.abstractmethod
|
||||
|
||||
Reference in New Issue
Block a user