Class: Launch::BaseFrame

Inherits:
Object
  • Object
show all
Defined in:
lib/launch.rb

Direct Known Subclasses

Frame, InitialFrame

Instance Attribute Summary collapse

Instance Attribute Details

#last_frameObject

Returns the value of attribute last_frame.



8
9
10
# File 'lib/launch.rb', line 8

def last_frame
  @last_frame
end

#positionObject

Returns the value of attribute position.



5
6
7
# File 'lib/launch.rb', line 5

def position
  @position
end

#speedObject

Returns the value of attribute speed.



6
7
8
# File 'lib/launch.rb', line 6

def speed
  @speed
end

#time_to_explosionObject

Returns the value of attribute time_to_explosion.



7
8
9
# File 'lib/launch.rb', line 7

def time_to_explosion
  @time_to_explosion
end