Class: Tmx::ObjectShape::UnknownShape

Inherits:
Object
  • Object
show all
Defined in:
lib/tmx_ext/object_shape.rb

Instance Method Summary collapse

Instance Method Details

#match?(object) ⇒ Boolean

Returns:

  • (Boolean)


74
75
76
# File 'lib/tmx_ext/object_shape.rb', line 74

def match?(object)
  true
end

#shape(object) ⇒ Object



78
79
80
# File 'lib/tmx_ext/object_shape.rb', line 78

def shape(object)
  raise "Invalid Shape defined in Object: #{object}"
end