Class: Ruby2D::Window

Inherits:
Object
  • Object
show all
Defined in:
lib/or2d/patches/window.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#objectsObject (readonly)

Returns the value of attribute objects.



3
4
5
# File 'lib/or2d/patches/window.rb', line 3

def objects
  @objects
end

Instance Method Details

#rendered?(object) ⇒ Boolean

Returns:

  • (Boolean)


5
6
7
# File 'lib/or2d/patches/window.rb', line 5

def rendered?(object)
  @objects.include?(object)
end