module Gamefic::Scriptable::PlotProxies

Public Instance Methods

_plot(key)
Alias for: lazy_plot
_plot_pick(*args)
Alias for: plot_pick
_plot_pick!(*args)
Alias for: plot_pick!
attr_plot(attr) click to toggle source
# File lib/gamefic/scriptable/plot_proxies.rb, line 12
def attr_plot attr
  define_method(attr) { plot.send(attr) }
end
lazy_plot(key) click to toggle source
# File lib/gamefic/scriptable/plot_proxies.rb, line 6
def lazy_plot key
  Logging.logger.warn "#{caller.first ? "#{caller.first}: " : ''}`lazy_plot` is deprecated. Use `plot_pick`, `plot_pick!, or pass the entity from the plot in a `config` option instead."
  Proxy.new(:attr, [:plot, key])
end
Also aliased as: _plot
lazy_plot_pick(*args)
Alias for: plot_pick
lazy_plot_pick!(*args)
Alias for: plot_pick!
plot_pick(*args) click to toggle source
# File lib/gamefic/scriptable/plot_proxies.rb, line 16
def plot_pick *args
  Proxy::PlotPick.new(*args)
end
Also aliased as: lazy_plot_pick, _plot_pick
plot_pick!(*args) click to toggle source
# File lib/gamefic/scriptable/plot_proxies.rb, line 22
def plot_pick! *args
  Proxy::PlotPick.new(*args)
end
Also aliased as: lazy_plot_pick!, _plot_pick!