Sha256: 166cd5918a55434f003d6f6fa67a4643f71ef93b1313e6f06493f405a1c1c0e5

Contents?: true

Size: 227 Bytes

Versions: 6

Compression:

Stored size: 227 Bytes

Contents

# Ruby2D::Entity

module Ruby2D
  class Entity

    # Add the entity to the window
    def add
      Window.add(self)
    end

    # Remove the entity from the window
    def remove
      Window.remove(self)
    end

  end
end

Version data entries

6 entries across 6 versions & 2 rubygems

Version Path
ruby2d-0.11.3 lib/ruby2d/entity.rb
ruby2d-0.11.2 lib/ruby2d/entity.rb
ruby2d-rpeck-windows-0.11.1 lib/ruby2d/entity.rb
ruby2d-0.11.1 lib/ruby2d/entity.rb
ruby2d-0.11.0 lib/ruby2d/entity.rb
ruby2d-0.10.0 lib/ruby2d/entity.rb