home *** CD-ROM | disk | FTP | other *** search
/ Champak 48 / cdrom_image.iso / Games / bobsleddin.swf / scripts / __Packages / GameLevel.as < prev    next >
Encoding:
Text File  |  2007-09-28  |  556 b   |  27 lines

  1. class GameLevel
  2. {
  3.    var backgrounds;
  4.    var records;
  5.    var startTime = 40;
  6.    var fogAmount = 1;
  7.    var outsideMaxSlope = 0;
  8.    var outsideMinSlope = 0;
  9.    var openTextColor = 26367;
  10.    var containedTextColor = 6388617;
  11.    var bonusTime = 100;
  12.    var bonusPoints = 100000;
  13.    function GameLevel()
  14.    {
  15.       this.backgrounds = [];
  16.       this.records = [];
  17.    }
  18.    function addRecord(name, time)
  19.    {
  20.       this.records.push({name:name,time:time});
  21.    }
  22.    function addBackground(bg)
  23.    {
  24.       this.backgrounds.push(bg);
  25.    }
  26. }
  27.