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.


36
37
38
39
40
# File 'lib/og/manager.rb', line 36

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

Instance Attribute Details

#enchantedObject

Returns the value of attribute enchanted


33
34
35
# File 'lib/og/manager.rb', line 33

def enchanted
  @enchanted
end

#klassObject

Returns the value of attribute klass


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

def klass
  @klass
end

#optionsObject

Returns the value of attribute options


34
35
36
# File 'lib/og/manager.rb', line 34

def options
  @options
end