Sha256: 789a09336843e8a87c7326b20be7ba116ae37ba4b6ca7d167fd392dc89a62225

Contents?: true

Size: 305 Bytes

Versions: 1

Compression:

Stored size: 305 Bytes

Contents

module Straightedge
  module Gosu
    class GameMaster < Straightedge::Director
      def orchestrate
	super
	#warn "over-write game logic in GameMaster#orchestrate"
      end

      def click(x, y)
	warn "received click at #{x}, #{y}"
      end
    end
  end

  config.agent_class = Gosu::GameMaster
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
straightedge-gosu-0.1.0 lib/straightedge/gosu/game_master.rb