public override string GetRotateAnim(E_MotionType motionType, E_RotationType rotationType) { if (rotationType == E_RotationType.Left) { return("rotateL"); } return("rotateR"); }
public override string GetRotateAnim(E_MotionType motionType, E_RotationType rotationType) { if (motionType == E_MotionType.Block) { if (rotationType == E_RotationType.Left) { return("blockStepL"); } return("blockStepR"); } if (rotationType == E_RotationType.Left) { return("rotationL"); } return("rotationR"); }
public override string GetRotateAnim(E_MotionType motionType, E_RotationType rotationType) { if (motionType == E_MotionType.Block) { if (rotationType == E_RotationType.Left) { return("rotateBlockLeft"); } return("rotateBlockRight"); } if (rotationType == E_RotationType.Left) { return("rotateLeft"); } return("rotateRight"); }
public abstract string GetRotateAnim(E_RotationType rotationType);
public override string GetRotateAnim(E_MotionType motionType, E_RotationType rotationType) { return(null); }
public override string GetRotateAnim(E_RotationType rotationType) { return(rotationType == E_RotationType.Left ? "TurnL" : "TurnR"); }