Esempio n. 1
0
 public cPickupInfo(PickupType pickup_type, cBaseRenderer renderer, Vector2f hit_rect_size, PickupEffectFunction effect)
 {
     this.pickupType  = pickup_type;
     this.renderer    = renderer;
     this.hitRectSize = hit_rect_size;
     this.effect      = effect;
 }
Esempio n. 2
0
 public cPickupInfo()
 {
     this.pickupType  = PickupType.UNKNOWN;
     this.renderer    = null;
     this.hitRectSize = new Vector2f(0, 0);
     this.effect      = null;
 }
Esempio n. 3
0
 public cPickupInfo(PickupType type, PickupEffectFunction effect, IntRect texture_rect)
 {
     this.type        = type;
     this.textureRect = texture_rect;
     this.effect      = effect;
 }
Esempio n. 4
0
 public cPickupInfo()
 {
     this.type        = PickupType.UNKNOWN;
     this.textureRect = new IntRect(0, 0, 0, 0);
     this.effect      = null;
 }