home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Puzzle / Clusterz / Clusterz.swf / scripts / ENGINE / DISPLAY / EFFECTS / OEffect.as next >
Encoding:
Text File  |  2008-09-12  |  1.2 KB  |  47 lines

  1. package ENGINE.DISPLAY.EFFECTS
  2. {
  3.    import ENGINE.CORE.OCache;
  4.    import ENGINE.DISPLAY.OBM;
  5.    import flash.filters.BevelFilter;
  6.    
  7.    public class OEffect
  8.    {
  9.        
  10.       
  11.       protected var iColors:OCache;
  12.       
  13.       protected var iFilters:OCache;
  14.       
  15.       public function OEffect()
  16.       {
  17.          super();
  18.          this.iColors = new OCache();
  19.          this.iFilters = new OCache();
  20.       }
  21.       
  22.       public static function MakeBevelFilter(param1:Array) : BevelFilter
  23.       {
  24.          return new BevelFilter(param1[1],param1[2],param1[3],param1[4],param1[5],param1[6],param1[7],param1[8],param1[9],param1[10],param1[11],param1[12]);
  25.       }
  26.       
  27.       public function RegisterColor(param1:String, param2:*) : void
  28.       {
  29.          this.iColors.SetItem(param1,param2);
  30.       }
  31.       
  32.       public function Init(param1:String, param2:String, param3:Number = 1) : void
  33.       {
  34.       }
  35.       
  36.       public function RegisterFilter(param1:String, param2:*) : void
  37.       {
  38.          this.iFilters.SetItem(param1,param2);
  39.       }
  40.       
  41.       public function Apply(param1:Array, param2:Number = 1, param3:Number = 0, param4:Number = 0) : OBM
  42.       {
  43.          return null;
  44.       }
  45.    }
  46. }
  47.