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.



71
72
73
74
75
76
# File 'lib/wardite/load.rb', line 71

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

  @globals = []
end

Instance Attribute Details

#globalsObject

: Array



68
69
70
# File 'lib/wardite/load.rb', line 68

def globals
  @globals
end