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.



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

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

  @globals = []
end

Instance Attribute Details

#globalsObject

: Array



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

def globals
  @globals
end