Method: MapObject#new_game

Defined in:
lib/ttr/objects/map.rb

#new_game(*script_names) ⇒ Object

Returns a new Game played using the Map, using Players running the named Scripts.



30
31
32
# File 'lib/ttr/objects/map.rb', line 30

def new_game (*script_names)
  GameObject.new(script_names, @city_objs, @route_objs.each {|r| r.player_obj = nil }, @ticket_objs.shuffle)
end