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:
2014-03-31 22:20:03 -07:00
parent 617557b08e
commit 11299f5ff4
6 changed files with 96 additions and 90 deletions

View File

@@ -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.

View File

@@ -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.