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,
|
A Python controller uses a Python script to activate it's actuators,
|
||||||
based on it's sensors.
|
based on it's sensors.
|
||||||
|
|
||||||
|
.. attribute:: owner
|
||||||
|
|
||||||
|
The object the controller is attached to.
|
||||||
|
|
||||||
|
:type: :class:`KX_GameObject`
|
||||||
|
|
||||||
.. attribute:: script
|
.. attribute:: script
|
||||||
|
|
||||||
The value of this variable depends on the execution methid.
|
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>`, ...}
|
:type: dictionary {:ref:`keycode<keyboard-keys>`::ref:`status<input-status>`, ...}
|
||||||
|
|
||||||
|
|
||||||
.. function:: getClipboard()
|
.. method:: getClipboard()
|
||||||
|
|
||||||
Gets the clipboard text.
|
Gets the clipboard text.
|
||||||
|
|
||||||
:rtype: string
|
:rtype: string
|
||||||
|
|
||||||
.. function:: setClipboard(text)
|
.. method:: setClipboard(text)
|
||||||
|
|
||||||
Sets the clipboard text.
|
Sets the clipboard text.
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user