Class: Og::Manager::EntityInfo

Inherits:
Object
  • Object
show all
Defined in:
lib/og/manager.rb

Overview

Information about an Entity class.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(klass = nil) ⇒ EntityInfo

Returns a new instance of EntityInfo.



30
31
32
33
34
# File 'lib/og/manager.rb', line 30

def initialize(klass = nil)
  @klass = klass
  @enchanted = false
  @options = {}
end

Instance Attribute Details

#enchantedObject

Returns the value of attribute enchanted.



27
28
29
# File 'lib/og/manager.rb', line 27

def enchanted
  @enchanted
end

#klassObject

Returns the value of attribute klass.



26
27
28
# File 'lib/og/manager.rb', line 26

def klass
  @klass
end

#optionsObject

Returns the value of attribute options.



28
29
30
# File 'lib/og/manager.rb', line 28

def options
  @options
end