summaryrefslogtreecommitdiffhomepage
path: root/lib/ruby2d/camera/square.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ruby2d/camera/square.rb')
-rw-r--r--lib/ruby2d/camera/square.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ruby2d/camera/square.rb b/lib/ruby2d/camera/square.rb
index b6f0321..7f74ee5 100644
--- a/lib/ruby2d/camera/square.rb
+++ b/lib/ruby2d/camera/square.rb
@@ -36,7 +36,7 @@ module Ruby2D
def initialize(opts = {})
super(opts)
- Ruby2D::Camera << self
+ Camera << self
Window.remove(self)
@x1 -= @x
@x2 -= @x
@@ -69,7 +69,7 @@ module Ruby2D
def z=(z)
super(z)
- Ruby2D::Camera._sort_by_z
+ Camera._sort_by_z
end
end
end