Animation ========= The Amount include contains all kinds of color related functions to get the animation of NPC's. PixelShiftMulti ~~~~~~~~~~~~~~~ .. code-block:: pascal function PixelShiftMulti(B: TBoxArray; T: Integer): TIntegerArray; Calculates how many pixels change in boxes B during time T. .. note:: by marpis Example: .. code-block:: pascal PixelShiftMulti ~~~~~~~~~~~~~~~ .. code-block:: pascal function PixelShiftMulti(B: TBoxArray; T: Integer): TIntegerArray; Calculates how many pixels change in boxes B during time T. .. note:: by marpis Example: .. code-block:: pascal AnimatingMulti ~~~~~~~~~~~~~~ .. code-block:: pascal function AnimatingMulti(B: TBoxArray; Time, MinCount: Integer): TBooleanArray; Finds constant animation in boxes B during time T. If PixelShift in box is smaller than MinCount, it's considered not animating. .. note:: by marpis Example: .. code-block:: pascal Animating ~~~~~~~~~ .. code-block:: pascal function Animating(B: TBox; Time, MinCount: Integer): Boolean; Finds constant animation in box B during time T. If PixelShift in box B is smaller than MinCount, it's considered not animating. .. note:: by marpis Example: .. code-block:: pascal IsMoving ~~~~~~~~ .. code-block:: pascal function IsMoving: Boolean; Results true if character is moving. .. note:: by marpis Example: .. code-block:: pascal