BGE doc cleanup: Some small cleanups in the BGE docs:
* Fixing trailing whitespace in some files * Fixing some indentation * SCA_PythonController.owner is now documented * SCA_PythonKeyboard members now use the member directive instead of function
This commit is contained in:
@@ -10,6 +10,12 @@ base class --- :class:`SCA_IController`
|
||||
A Python controller uses a Python script to activate it's actuators,
|
||||
based on it's sensors.
|
||||
|
||||
.. attribute:: owner
|
||||
|
||||
The object the controller is attached to.
|
||||
|
||||
:type: :class:`KX_GameObject`
|
||||
|
||||
.. attribute:: script
|
||||
|
||||
The value of this variable depends on the execution methid.
|
||||
|
||||
@@ -22,13 +22,13 @@ base class --- :class:`PyObjectPlus`
|
||||
:type: dictionary {:ref:`keycode<keyboard-keys>`::ref:`status<input-status>`, ...}
|
||||
|
||||
|
||||
.. function:: getClipboard()
|
||||
.. method:: getClipboard()
|
||||
|
||||
Gets the clipboard text.
|
||||
|
||||
:rtype: string
|
||||
|
||||
.. function:: setClipboard(text)
|
||||
.. method:: setClipboard(text)
|
||||
|
||||
Sets the clipboard text.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user