Class: NuriGame::TsxReader::Image

Inherits:
Struct
  • Object
show all
Defined in:
lib/nuri_game/tsx_reader.rb

Overview

Definition of an image

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



11
12
13
# File 'lib/nuri_game/tsx_reader.rb', line 11

def data
  @data
end

#formatObject

Returns the value of attribute format

Returns:

  • (Object)

    the current value of format



11
12
13
# File 'lib/nuri_game/tsx_reader.rb', line 11

def format
  @format
end

#heightObject

Returns the value of attribute height

Returns:

  • (Object)

    the current value of height



11
12
13
# File 'lib/nuri_game/tsx_reader.rb', line 11

def height
  @height
end

#sourceObject

Returns the value of attribute source

Returns:

  • (Object)

    the current value of source



11
12
13
# File 'lib/nuri_game/tsx_reader.rb', line 11

def source
  @source
end

#transObject

Returns the value of attribute trans

Returns:

  • (Object)

    the current value of trans



11
12
13
# File 'lib/nuri_game/tsx_reader.rb', line 11

def trans
  @trans
end

#widthObject

Returns the value of attribute width

Returns:

  • (Object)

    the current value of width



11
12
13
# File 'lib/nuri_game/tsx_reader.rb', line 11

def width
  @width
end