SENMoveUtility

class modules.js.Utility.SENMoveUtilityMethods()

Module holding methods that create animations to move the pieces around the board

modules.js.Utility.SENMoveUtilityMethods.SENMoveUtilityMethods
modules.js.Utility.SENMoveUtilityMethods.moveCharacter(orig_x, orig_y, dest_x, dest_y, player_id)

Utility method to move a character around the board, using a scaling effect

Arguments
  • orig_x (number()) –

  • orig_y (number()) –

  • dest_x (number()) –

  • dest_y (number()) –

  • player_id (number()) –

modules.js.Utility.SENMoveUtilityMethods.moveCharacterAndStone(orig_x, orig_y, dest_x, dest_y)

Note

Deprecated.

Utility method to move a stone and its character around the board using a custom animation (scale based)

Arguments
  • orig_x (number()) –

  • orig_y (number()) –

  • dest_x (number()) –

  • dest_y (number()) –

modules.js.Utility.SENMoveUtilityMethods.moveStone(orig_x, orig_y, dest_x, dest_y)

Utility method to move a stone around the board using animations

Arguments
  • orig_x (number()) –

  • orig_y (number()) –

  • dest_x (number()) –

  • dest_y (number()) –