export class EnemyRobot { smashWithHands ( ) { const randomDamage = Math . floor ( Math . random ( ) * 10 ) + 1 ; console . log ( `Enemy Robot Caused ${ randomDamage } Damage Points With its Hands.` ) ; } walkForward ( ) { const randomMovement = Math . floor ( Math . random ( ) * 5 ) + 1 ; console . log ( `Enemy Robot Walked ${ randomMovement }.` ) ; } reactToHuman ( driverName ) { console . log ( `Robot tramps on ${ driverName }.` ) ; } }