PyANGKernel.GKStopLineNewCmd¶
- class GKStopLineNewCmd¶
Creates a stop line in a turn
Details
A sample code for creating a new stop line would look like:
cmd = GKStopLineNewCmd() cmd.setData( turn, pos ) model.getCommander().addCommand( cmd ) res = cmd.createdObject()
Synopsis¶
Methods¶
def
__init__()def
setData()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- __init__()¶
Defines the StopLine to be created : in which turn, at what position.