Made separate methods for move and attack.