RubyExtension/MSPhysics/material.rb
# Determine whether thi material has the same properties as another
# material.
# @param [Material] other_material
# @return [Boolean]
Determine whether thi material has the same properties as another
material.
Determine whether thi material has the same properties as another material .
def equals?(other_material)
    ( other_material.density == @density &&
      other_material.static_friction == @static_friction &&
      other_material.kinetic_friction == @kinetic_friction &&
      other_material.elasticity == @elasticity &&
      other_material.softness == @softness )
  end
def equals? ( other_material ) ( other_material . density == @density && other_material . static_friction == @static_friction && other_material . kinetic_friction == @kinetic_friction && other_material . elasticity == @elasticity && other_material . softness == @softness ) end
Determine whether thi material has the same properties as another
material.
Determine whether thi material has the same properties as another material .
None
Boolean
other_material
<not_specific>
<not_specific>
None