basic funcitons: animation, attack