Class: TourPrimitive

Inherits:
KMLObject 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 KMLObject

#comment, #id

Instance Method Summary collapse

Methods inherited from KMLObject

#to_kml

Constructor Details

#initializeTourPrimitive

Returns a new instance of TourPrimitive.



1136
1137
1138
# File 'lib/kamelopard/classes.rb', line 1136

def initialize
    Document.instance.tour << self
end