Docs: touch ups in the bge.render doc introduction

This commit is contained in:
Dalai Felinto 2015-01-22 03:20:39 -02:00
parent 8ed439b89e
commit 5c6ef95b71
1 changed files with 5 additions and 1 deletions

View File

@ -8,9 +8,13 @@ Intro
.. module:: bge.render
Example of using a :class:`bge.types.SCA_MouseSensor`, and two :class:`bge.types.KX_ObjectActuator` to implement MouseLook:
.. note::
This can also be achieved with the :class:`bge.types.KX_MouseActuator`.
.. code-block:: python
# Example Uses an L{SCA_MouseSensor}, and two L{KX_ObjectActuator}s to implement MouseLook::
# To use a mouse movement sensor "Mouse" and a
# motion actuator to mouse look:
import bge