Changed health/energy to float values.
Refactored player actions.