/** * *********************************************************************** Affects the indicated * MatrixEntity. * * @param entity The MatrixEntity to affect. * *********************************************************************** */ protected void affect(MatrixEntity entity) { for (Effect effect : effects) effect.affect(this, entity); effects.unlock(); }