Class: Kamelopard::TourPrimitive

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

Overview

Abstract class corresponding to KML’s gx:TourPrimitive object. Tours are made up of descendants of these.

Direct Known Subclasses

AnimatedUpdate, FlyTo, SoundCue, TourControl, Wait

Instance Attribute Summary

Attributes inherited from Object

#comment, #kml_id

Instance Method Summary collapse

Methods inherited from Object

#change, #to_kml

Constructor Details

#initialize(options = {}) ⇒ TourPrimitive

Returns a new instance of TourPrimitive.



1273
1274
1275
1276
# File 'lib/kamelopard/classes.rb', line 1273

def initialize(options = {})
    Document.instance.tour << self
    super
end