Class: Wardite::GlobalSection

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

Defined Under Namespace

Classes: Global

Instance Attribute Summary collapse

Attributes inherited from Section

#code, #name, #size

Instance Method Summary collapse

Constructor Details

#initializeGlobalSection

Returns a new instance of GlobalSection.



87
88
89
90
91
92
# File 'lib/wardite/load.rb', line 87

def initialize
  self.name = "Data"
  self.code = 0x6

  @globals = []
end

Instance Attribute Details

#globalsObject

: Array



84
85
86
# File 'lib/wardite/load.rb', line 84

def globals
  @globals
end