Exemplo n.º 1
0
 public Point(Position position, float width, float height, OpenTKColor color, int count)
     : base(position, width, height, color)
 {
     Count       = count;
     position.X += (this.Width / pointScale) * 1.5f;
     position.Y -= (this.Height / pointScale) * 1.5f;
 }
Exemplo n.º 2
0
 public Bonus(Position position, float width, float height, OpenTKColor color, int bonusCount)
     : base(position, width, height, color)
 {
     BonusCount  = bonusCount;
     position.X += (this.Width / bonusScale) * 1.5f;
     position.Y -= (this.Height / bonusScale) * 1.5f;
 }
Exemplo n.º 3
0
 public Wall(Position position, float width, float height, int index, OpenTKColor color)
     : base(position, width, height, index, color, true, true)
 {
 }
Exemplo n.º 4
0
 public CollectedItem(Position position, float width, float height, OpenTKColor color)
     : base(position, width, height, color, true, false)
 {
     position.X += Width / 2;
     position.Y -= Height / 2;
 }
Exemplo n.º 5
0
 public Place(Position position, float width, float height, int index, OpenTKColor color, bool isVisiable = false, bool collider = false)
     : base(position, width, height, color, isVisiable, collider)
 {
     this.Index = index;
 }
Exemplo n.º 6
0
 public PlaceDecorator(Place place, OpenTKColor color)
     : base(place.position, place.Width, place.Height, place.Index, color)
 {
     this.place = place;
 }