Class: Window

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(x = nil, y = nil, width = nil, height = nil) ⇒ Window

Returns a new instance of Window.



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

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

Instance Attribute Details

#activeObject

Returns the value of attribute active.



39
40
41
# File 'lib/window.rb', line 39

def active
  @active
end

#arrows_visibleObject

Returns the value of attribute arrows_visible.



43
44
45
# File 'lib/window.rb', line 43

def arrows_visible
  @arrows_visible
end

#back_opacityObject

Returns the value of attribute back_opacity.



67
68
69
# File 'lib/window.rb', line 67

def back_opacity
  @back_opacity
end

#contentsObject

Returns the value of attribute contents.



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

def contents
  @contents
end

#contents_opacityObject

Returns the value of attribute contents_opacity.



69
70
71
# File 'lib/window.rb', line 69

def contents_opacity
  @contents_opacity
end

#cursor_rectObject

Returns the value of attribute cursor_rect.



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

def cursor_rect
  @cursor_rect
end

#heightObject

Returns the value of attribute height.



53
54
55
# File 'lib/window.rb', line 53

def height
  @height
end

#opacityObject

Returns the value of attribute opacity.



65
66
67
# File 'lib/window.rb', line 65

def opacity
  @opacity
end

#opennessObject

Returns the value of attribute openness.



71
72
73
# File 'lib/window.rb', line 71

def openness
  @openness
end

#oxObject

Returns the value of attribute ox.



57
58
59
# File 'lib/window.rb', line 57

def ox
  @ox
end

#oyObject

Returns the value of attribute oy.



59
60
61
# File 'lib/window.rb', line 59

def oy
  @oy
end

#paddingObject

Returns the value of attribute padding.



61
62
63
# File 'lib/window.rb', line 61

def padding
  @padding
end

#padding_bottomObject

Returns the value of attribute padding_bottom.



63
64
65
# File 'lib/window.rb', line 63

def padding_bottom
  @padding_bottom
end

#pauseObject

Returns the value of attribute pause.



45
46
47
# File 'lib/window.rb', line 45

def pause
  @pause
end

#toneObject

Returns the value of attribute tone.



73
74
75
# File 'lib/window.rb', line 73

def tone
  @tone
end

#viewportObject

Returns the value of attribute viewport.



37
38
39
# File 'lib/window.rb', line 37

def viewport
  @viewport
end

#visibleObject

Returns the value of attribute visible.



41
42
43
# File 'lib/window.rb', line 41

def visible
  @visible
end

#widthObject

Returns the value of attribute width.



51
52
53
# File 'lib/window.rb', line 51

def width
  @width
end

#windowskinObject

Returns the value of attribute windowskin.



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

def windowskin
  @windowskin
end

#xObject

Returns the value of attribute x.



47
48
49
# File 'lib/window.rb', line 47

def x
  @x
end

#yObject

Returns the value of attribute y.



49
50
51
# File 'lib/window.rb', line 49

def y
  @y
end

#zObject

Returns the value of attribute z.



55
56
57
# File 'lib/window.rb', line 55

def z
  @z
end

Instance Method Details

#close?Boolean

Returns:

  • (Boolean)


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

def close?
  fail NotImplementedError
end

#disposeObject



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

def dispose
  fail NotImplementedError
end

#disposed?Boolean

Returns:

  • (Boolean)


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

def disposed?
  fail NotImplementedError
end

#move(x, y, width, height) ⇒ Object



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

def move(x, y, width, height)
  fail NotImplementedError
end

#open?Boolean

Returns:

  • (Boolean)


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

def open?
  fail NotImplementedError
end

#updateObject



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

def update
  fail NotImplementedError
end