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()

Inheritance diagram of PyANGKernel.GKStopLineNewCmd

Synopsis

Methods

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__()
setData(turn, pos)
Parameters:

Defines the StopLine to be created : in which turn, at what position.