In constructor params means array filled the way written in coomments in header file. This class generates direction to go about some field state. You may use it in two ways: creating new object of this class every time you need to calculate direction on another field state or to use method "updateFieldState".