public BasicEffectShape(Game game, BasicEffectShapes shape, int shapeNumber, LightingType scene) : base(game) { this.shape = shape; this.shapeNumber = shapeNumber; this.scene = (int)scene; CreateShape(); }
public BasicEffectShape(Game game, BasicEffectShapes shape, PlayerIndex player, int shapeNumber, LightingType scene) : base(game) { Debug.Assert(shape == BasicEffectShapes.Weapon, "Constructor should only be called with Weapon"); this.player = player; this.shape = shape; this.shapeNumber = shapeNumber; this.scene = (int)scene; CreateShape(); }