public SharedLetter(Plane onPlane, Point startingPoint, bool smaller, char letter, SharedDirection sharedDirection, int letterDirection, Dictionary <int, int> duration) { this.onPlane = onPlane; this.smaller = smaller; this.letter = letter; this.sharedDirection = sharedDirection; this.letterDirection = letterDirection; this.startingPoint = startingPoint; this.duration = duration; }
// Construct by specifying the number of rotations. protected NonCircularDirection(Point startingPoint, int direction, float directionLength, float directionDivisor, List <bool> canShootList, Dictionary <int, int> duration, int directionDimension, int numberOfRotations) : base(startingPoint, direction, canShootList, duration, directionDimension, numberOfRotations) { sharedDirection = new SharedDirection(directionLength, directionDivisor); }
protected NonCircularDirection() { sharedDirection = new SharedDirection(10, 1); }
// Construct without specifying the length property cause it doesnh't exist. protected NonCircularDirection(Point startingPoint, int direction, float directionDivisor, List <bool> canShootList, Dictionary <int, int> duration, int directionDimension) : base(startingPoint, direction, canShootList, duration, directionDimension, 1) { sharedDirection = new SharedDirection(10 * directionDivisor, directionDivisor); }
protected CircularDirection() : base() { sharedDirection = new SharedDirection(10, 1); }