Class: Wardite::StartSection

Inherits:
Section
  • Object
show all
Defined in:
lib/wardite/load.rb

Instance Attribute Summary collapse

Attributes inherited from Section

#code, #name, #size

Instance Method Summary collapse

Constructor Details

#initializeStartSection

Returns a new instance of StartSection.



98
99
100
101
102
# File 'lib/wardite/load.rb', line 98

def initialize
  self.name = "Start"
  self.code = 0x8
  self.func_index = -1
end

Instance Attribute Details

#func_indexObject

: Integer



95
96
97
# File 'lib/wardite/load.rb', line 95

def func_index
  @func_index
end