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.



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

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

Instance Attribute Details

#func_indexObject

: Integer



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

def func_index
  @func_index
end