Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 // 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);
 }
Esempio n. 3
0
 protected NonCircularDirection()
 {
     sharedDirection = new SharedDirection(10, 1);
 }
Esempio n. 4
0
 // 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);
 }