class Savage::Directions::CoordinateTarget
Attributes
target[RW]
Public Class Methods
new(target, absolute=true)
click to toggle source
Calls superclass method
Savage::Direction::new
# File lib/savage/directions/coordinate_target.rb, line 7 def initialize(target, absolute=true) @target = target super(absolute) end
Public Instance Methods
fully_transformable?()
click to toggle source
# File lib/savage/directions/coordinate_target.rb, line 16 def fully_transformable? false end
to_a()
click to toggle source
# File lib/savage/directions/coordinate_target.rb, line 12 def to_a [command_code, @target] end