public Explosionview(Camera _camera,SpriteBatch _spritebatch,Vector2 _startpos, Texture2D _splittertexture,Texture2D _smoketexture,Texture2D _explosiontexture,Texture2D _shockwavetexture) { camera = _camera; spritebatch = _spritebatch; startpos = _startpos; splittertexture = _splittertexture; smoketexture = _smoketexture; explosiontexture = _explosiontexture; shockwavetexture = _shockwavetexture; splittersystem = new SplitterSystem(splittertexture, spritebatch, camera, scale, startpos); smokesystem = new Smokesystem(smoketexture, spritebatch, camera,scale, startpos); explosion = new Explosion(explosiontexture, spritebatch, camera, scale, startpos); shockwave = new Shockwave(shockwavetexture, spritebatch, camera,scale, startpos); }
public Explosionview(Camera _camera, SpriteBatch _spritebatch, Vector2 _startpos, Texture2D _splittertexture, Texture2D _smoketexture, Texture2D _explosiontexture, Texture2D _shockwavetexture) { camera = _camera; spritebatch = _spritebatch; startpos = _startpos; splittertexture = _splittertexture; smoketexture = _smoketexture; explosiontexture = _explosiontexture; shockwavetexture = _shockwavetexture; splittersystem = new SplitterSystem(splittertexture, spritebatch, camera, scale, startpos); smokesystem = new Smokesystem(smoketexture, spritebatch, camera, scale, startpos); explosion = new Explosion(explosiontexture, spritebatch, camera, scale, startpos); shockwave = new Shockwave(shockwavetexture, spritebatch, camera, scale, startpos); }