IRON  1.0
Public Member Functions | Public Attributes | List of all members
iron.placeable.AlreadyPlacedError Class Reference
Inheritance diagram for iron.placeable.AlreadyPlacedError:
Inheritance graph
[legend]
Collaboration diagram for iron.placeable.AlreadyPlacedError:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, cls, Tile current_tile, Tile new_tile)
 

Public Attributes

 message
 

Detailed Description

Placeable objects may raise this error if one attempts to assign them to a Tile more than once.

Constructor & Destructor Documentation

◆ __init__()

def iron.placeable.AlreadyPlacedError.__init__ (   self,
  cls,
Tile  current_tile,
Tile  new_tile 
)
Create an AlreadyPlacedError

Args:
    current_tile (Tile): The current placement tile
    new_tile (Tile): The placement tile given for the second attempt to place the object.

Member Data Documentation

◆ message

iron.placeable.AlreadyPlacedError.message

The documentation for this class was generated from the following file: