public EffectLayer(int duration){
  this.duration=duration;
  timestamp=System.currentTimeMillis();
}

public EffectLayer ( int duration ) { this . duration = duration ; timestamp = System . currentTimeMillis ( ) ; }
create an effectlayer for specified effect duration .
