Method: Raylib::Camera2D#with_target

Defined in:
lib/raylib_helper.rb

#with_target(x, y) ⇒ Object



252
253
254
255
# File 'lib/raylib_helper.rb', line 252

def with_target(x, y)
  self[:target].set(x, y)
  self
end