Class: Beefdump::Client::Graphical::Window
- Inherits:
-
Gosu::Window
- Object
- Gosu::Window
- Beefdump::Client::Graphical::Window
- Defined in:
- lib/beefdump/client/graphical/window.rb
Constant Summary collapse
- WIDTH =
640
- HEIGHT =
480
Instance Method Summary collapse
- #draw ⇒ Object
-
#initialize(client, *args) ⇒ Window
constructor
A new instance of Window.
- #update ⇒ Object
Constructor Details
#initialize(client, *args) ⇒ Window
Returns a new instance of Window.
9 10 11 12 |
# File 'lib/beefdump/client/graphical/window.rb', line 9 def initialize(client, *args) super(*args) @client = client end |
Instance Method Details
#draw ⇒ Object
18 19 20 |
# File 'lib/beefdump/client/graphical/window.rb', line 18 def draw @client.draw_window end |
#update ⇒ Object
14 15 16 |
# File 'lib/beefdump/client/graphical/window.rb', line 14 def update @client.update_window end |