Class: RBGLox::App

Inherits:
Window show all
Defined in:
lib/rbglox/app.rb

Overview

Semi-abstract Application Class

Direct Known Subclasses

ShaderApp

Instance Attribute Summary

Attributes inherited from Window

#height, #multisample, #title, #vsync, #watch, #width

Instance Method Summary collapse

Methods inherited from Window

#begin_frame, #close, #draw, #end_frame, #exec, #init, #key?, #mouse?, #mouse_left?, #mouse_pos?, #mouse_right?, #mouse_wheel?, #reload, #resize, #shutdown, #time, #update

Constructor Details

#initialize {|_self| ... } ⇒ App

Constructor

Yields:

  • (_self)

Yield Parameters:

  • _self (RBGLox::App)

    the object that the method was called on



4
5
6
7
# File 'lib/rbglox/app.rb', line 4

def initialize
  super
  yield self
end