Class: Viewport

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(arg1 = nil, y = nil, width = nil, height = nil) ⇒ Viewport

Returns a new instance of Viewport.



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

def initialize(arg1 = nil, y = nil, width = nil, height = nil)
  fail NotImplementedError
end

Instance Attribute Details

#colorObject

Returns the value of attribute color.



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

def color
  @color
end

#oxObject

Returns the value of attribute ox.



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

def ox
  @ox
end

#oyObject

Returns the value of attribute oy.



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

def oy
  @oy
end

#rectObject

Returns the value of attribute rect.



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

def rect
  @rect
end

#toneObject

Returns the value of attribute tone.



35
36
37
# File 'lib/viewport.rb', line 35

def tone
  @tone
end

#visibleObject

Returns the value of attribute visible.



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

def visible
  @visible
end

#zObject

Returns the value of attribute z.



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

def z
  @z
end

Instance Method Details

#disposeObject



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

def dispose
  fail NotImplementedError
end

#disposed?Boolean

Returns:

  • (Boolean)


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

def disposed?
  fail NotImplementedError
end

#flash(color, duration) ⇒ Object



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

def flash(color, duration)
  fail NotImplementedError
end

#updateObject



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

def update
  fail NotImplementedError
end