Game Development Reference
In-Depth Information
the left mouse button is pressed, and calls
ReleaseTrigger()
from the same weapon when
the left button is released. Additionally, it performs reload when the right mouse button is
clicked. Our player object should now look like Illustration 90.