void function ( int arg0 , String arg1 ) { if ( currentLife - arg0 <= 0 ) die ( arg1 ) ; else currentLife = currentLife - arg0 ; }
calculate life damage if the character has hit concode_field_sep LogicWorld world concode_elem_sep boolean jumping concode_elem_sep int currentLife concode_elem_sep String id concode_elem_sep Vector3f position concode_elem_sep int maxLife concode_elem_sep boolean moving concode_field_sep void die concode_elem_sep void rest concode_elem_sep boolean getJumping concode_elem_sep Movement getNextMovement concode_elem_sep void setPosition concode_elem_sep boolean addAmmo concode_elem_sep void setMoving concode_elem_sep WeaponType getCurrentWeapon concode_elem_sep int getMaxLife concode_elem_sep Vector3f getPosition concode_elem_sep void setMaxLife concode_elem_sep int getCurrentLife concode_elem_sep boolean isMoving concode_elem_sep boolean shoot concode_elem_sep boolean addLife concode_elem_sep void setJumping