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.



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

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

Instance Attribute Details

#func_indexObject

: Integer



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

def func_index
  @func_index
end