 		 * Checks whether an action is currently activated (in practice, a button is pressed).
 		 *
 		 * @param action				An arbritrary String id identifying the action that should be checked.
+		 * @param timeToleranceSeconds	Time tolerance, in seconds, before the action is assumed to be expired. If < 0, no time is checked.
 		 *
 		 * <p>Examples:</p>
 		 *

		 * if (isActionActivated("move-right")) {
		 *     player.moveRight();
		 * }
		 * </pre>
		 */
		public function isActionActivated(__action:String):Boolean {
			return actionsActivations.hasOwnProperty(__action) && (actionsActivations[__action] as ActivationInfo).activations.length > 0;
		}

		public function consumeAction(__action:String):void {

				if (!filteredKeys[i].isActivated) {
					// Marks as pressed
					filteredKeys[i].isActivated = true;
					filteredKeys[i].lastActivatedTime = getTimer();

					// Add this activation to the list of current activations
					(actionsActivations[filteredKeys[i].action] as ActivationInfo).activations.push(filteredKeys[i]);
