Пример #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;
 }
Пример #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;
 }
Пример #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;
 }
Пример #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;
 }