added alert state
added target_player property in order to keep track of the player when necessary
added extra properties for supporting enemy patrol tasks
made some methods generic in order to perform such tasks on the player as well as on enemies and other mobile game componenets
all momemtum related tasks are now handle by the states that for which this property is relevant
no longers updates the momentum value when computing the current dx value