Class: MSPhysics::Entity

Inherits:
Object
  • Object
show all
Defined in:
RubyExtension/MSPhysics/entity.rb

Overview

Since:

  • 1.0.0

Instance Method Summary collapse

Instance Method Details

#inspectObject

Since:

  • 1.0.0


10
11
12
# File 'RubyExtension/MSPhysics/entity.rb', line 10

def inspect
  sprintf("#<%s:0x%014x>", self.class, self.object_id << 1)
end

#to_sObject

Since:

  • 1.0.0


6
7
8
# File 'RubyExtension/MSPhysics/entity.rb', line 6

def to_s
  sprintf("#<%s:0x%014x>", self.class, self.object_id << 1)
end