public ScaleUp(string texPath, Vector2 origin, float layerDepth, Vector2 pos, RadiusFunc radiusFunc, SingleFunc rotaFunc, float duration) { this.tex = BaseGame.ContentMgr.Load <Texture2D>(texPath); this.origin = origin; this.pos = pos; this.radiusFunc = radiusFunc; this.rotaFunc = rotaFunc; this.duration = duration; this.layerDepth = layerDepth; EffectsMgr.AddManagedEffect(this); }
public ScaleUp ( string texPath, Vector2 origin, float layerDepth, Vector2 pos, RadiusFunc radiusFunc, SingleFunc rotaFunc, float duration ) { this.tex = BaseGame.ContentMgr.Load<Texture2D>( texPath ); this.origin = origin; this.pos = pos; this.radiusFunc = radiusFunc; this.rotaFunc = rotaFunc; this.duration = duration; this.layerDepth = layerDepth; EffectsMgr.AddManagedEffect( this ); }