diff options
| author | realtradam <[email protected]> | 2021-04-25 04:25:57 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2021-04-25 04:25:57 -0400 |
| commit | 505a4735d519253c5f173f47fbe9691bc5d9ce93 (patch) | |
| tree | a3b2600a87a4285e60165728f48a346a7b05dec3 /lib/camera/wrappers/line_wrapper.rb | |
| parent | 93290fb327f4dac63ac201c4c21e13c60cae0eff (diff) | |
| download | ruby2d-camera-505a4735d519253c5f173f47fbe9691bc5d9ce93.tar.gz ruby2d-camera-505a4735d519253c5f173f47fbe9691bc5d9ce93.zip | |
.
Diffstat (limited to 'lib/camera/wrappers/line_wrapper.rb')
| -rw-r--r-- | lib/camera/wrappers/line_wrapper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/camera/wrappers/line_wrapper.rb b/lib/camera/wrappers/line_wrapper.rb index d2c1801..7d4d944 100644 --- a/lib/camera/wrappers/line_wrapper.rb +++ b/lib/camera/wrappers/line_wrapper.rb @@ -19,7 +19,7 @@ module Camera #Methods for moving the shape def x - @x ||= x1 + @x ||= 0 end def x=(x) @@ -27,7 +27,7 @@ module Camera end def y - @y ||= y1 + @y ||= 0 end def y=(y) |
