Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }