class PPCurses::Point

Attributes

x[RW]
y[RW]

Public Class Methods

new( x=0, y=0 ) click to toggle source
# File lib/ppcurses/geometry.rb, line 7
def initialize( x=0, y=0 )
  @x = x
  @y = y
end
zeroPoint() click to toggle source
# File lib/ppcurses/geometry.rb, line 16
def Point.zeroPoint
  Point.new
end

Public Instance Methods

to_s() click to toggle source
# File lib/ppcurses/geometry.rb, line 12
def to_s
  "x=#{@x} y=#{@y}"
end