Exemple #1
0
 public Planet(Image image,PlanetInfo planetInfo, float degreesAddedEachTick, bool clockwise)
     : this()
 {
     this.planetInfo = planetInfo;
     this.Name = planetInfo.Name;
     this.Image = image;
     this.degreesAddedEachTick = degreesAddedEachTick;
     this.isClockwiseRotation = clockwise;
 }
Exemple #2
0
 public Planet(Image image, PlanetInfo planetInfo, float degreesAddedEachTick, bool clockwise)
     : this()
 {
     this.planetInfo           = planetInfo;
     this.Name                 = planetInfo.Name;
     this.Image                = image;
     this.degreesAddedEachTick = degreesAddedEachTick;
     this.isClockwiseRotation  = clockwise;
 }
Exemple #3
0
 public Planet(Image image, PlanetInfo planetInfo, float degreesAddedEachTick, float initalAngle)
     : this()
 {
     this.planetInfo           = planetInfo;
     this.Name                 = planetInfo.Name;
     this.isClockwiseRotation  = planetInfo.Clockwise;
     this.Image                = image;
     this.degreesAddedEachTick = degreesAddedEachTick;
     this.initalAngle          = initalAngle;
     this.angleInDegrees       = initalAngle;
 }
Exemple #4
0
 public Planet(Image image, PlanetInfo planetInfo, float degreesAddedEachTick, float initalAngle)
     : this()
 {
     this.planetInfo = planetInfo;
     this.Name = planetInfo.Name;
     this.isClockwiseRotation = planetInfo.Clockwise;
     this.Image = image;
     this.degreesAddedEachTick = degreesAddedEachTick;
     this.initalAngle = initalAngle;
     this.angleInDegrees = initalAngle;
 }