Class: Uh::Screen
- Inherits:
-
Object
- Object
- Uh::Screen
- Defined in:
- lib/uh/screen.rb,
ext/uh/uh.c
Instance Attribute Summary collapse
- #height ⇒ Object readonly
- #id ⇒ Object readonly
- #width ⇒ Object readonly
- #x ⇒ Object readonly
- #y ⇒ Object readonly
Instance Method Summary collapse
- #geo ⇒ Object
- #initialize ⇒ Object constructor
Constructor Details
#initialize ⇒ Object
Instance Attribute Details
#height ⇒ Object (readonly)
#id ⇒ Object (readonly)
#width ⇒ Object (readonly)
#x ⇒ Object (readonly)
#y ⇒ Object (readonly)
Instance Method Details
#geo ⇒ Object
3 4 5 |
# File 'lib/uh/screen.rb', line 3 def geo @geo ||= Geo.new x, y, width, height end |