Method: Core::Frame#initialize

Defined in:
lib/animation.rb

#initializeFrame

Returns a new instance of Frame.



66
67
68
69
70
71
# File 'lib/animation.rb', line 66

def initialize
  @length = 1
  @color = Gosu::Color::WHITE
  @x, @y = 0, 0
  @mode = :default
end