Class: Tilemap

Inherits:
Object
  • Object
show all
Defined in:
lib/tilemap.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(viewport = nil) ⇒ Tilemap

Returns a new instance of Tilemap.



3
4
5
# File 'lib/tilemap.rb', line 3

def initialize(viewport = nil)
  fail NotImplementedError
end

Instance Attribute Details

#bitmapsObject

Returns the value of attribute bitmaps.



19
20
21
# File 'lib/tilemap.rb', line 19

def bitmaps
  @bitmaps
end

#flagsObject

Returns the value of attribute flags.



25
26
27
# File 'lib/tilemap.rb', line 25

def flags
  @flags
end

#flash_dataObject

Returns the value of attribute flash_data.



23
24
25
# File 'lib/tilemap.rb', line 23

def flash_data
  @flash_data
end

#map_dataObject

Returns the value of attribute map_data.



21
22
23
# File 'lib/tilemap.rb', line 21

def map_data
  @map_data
end

#oxObject

Returns the value of attribute ox.



31
32
33
# File 'lib/tilemap.rb', line 31

def ox
  @ox
end

#oyObject

Returns the value of attribute oy.



33
34
35
# File 'lib/tilemap.rb', line 33

def oy
  @oy
end

#viewportObject

Returns the value of attribute viewport.



27
28
29
# File 'lib/tilemap.rb', line 27

def viewport
  @viewport
end

#visibleObject

Returns the value of attribute visible.



29
30
31
# File 'lib/tilemap.rb', line 29

def visible
  @visible
end

Instance Method Details

#disposeObject



7
8
9
# File 'lib/tilemap.rb', line 7

def dispose
  fail NotImplementedError
end

#disposed?Boolean

Returns:

  • (Boolean)


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

def disposed?
  fail NotImplementedError
end

#updateObject



15
16
17
# File 'lib/tilemap.rb', line 15

def update
  fail NotImplementedError
end