protected void CreateAttacksGenerators() { this.attacksGenerators = new AttacksGenerator[6]; for (int i = 0; i < 6; ++i) this.attacksGenerators[i] = AttacksGeneratorFactory.CreateGenerator((Figure)i, this.position); }