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.



18
19
20
21
22
# File 'lib/og/manager.rb', line 18

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

Instance Attribute Details

#enchantedObject

Returns the value of attribute enchanted.



15
16
17
# File 'lib/og/manager.rb', line 15

def enchanted
  @enchanted
end

#klassObject

Returns the value of attribute klass.



14
15
16
# File 'lib/og/manager.rb', line 14

def klass
  @klass
end

#optionsObject

Returns the value of attribute options.



16
17
18
# File 'lib/og/manager.rb', line 16

def options
  @options
end