Guest User

Untitled

a guest
Jun 21st, 2012
69
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Event Road Reconstruction, indicating that company triggered
  3.  * road reconstructions in a town.
  4.  * @api ai game
  5.  */
  6. class ScriptEventRoadReconstruction : public ScriptEventCompanyTown {
  7. public:
  8.     /**
  9.      * @param company The company.
  10.      * @param town The town.
  11.      */
  12.     ScriptEventRoadReconstruction(ScriptCompany::CompanyID company, TownID town) :
  13.         ScriptEventCompanyTown(ET_ROAD_RECONSTRUCTION, company, town)
  14.     {}
  15.  
  16.     /**
  17.      * Convert an ScriptEvent to the real instance.
  18.      * @param instance The instance to convert.
  19.      * @return The converted instance.
  20.      */
  21.     static ScriptEventRoadReconstruction *Convert(ScriptEventCompanyTown *instance) { return (ScriptEventRoadReconstruction *)instance; }
  22. };
RAW Paste Data