Method: RGSS::Texture#blit

Defined in:
lib/rgss/texture.rb

#blit(src, src_rect, dst_rect, opacity = 1.0) ⇒ Object

Raises:

  • (ArgumentError)


71
72
73
74
75
# File 'lib/rgss/texture.rb', line 71

def blit(src, src_rect, dst_rect, opacity = 1.0)
  raise(ArgumentError, "source Texture cannot be nil") unless src
  

end