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; }
public cPickupInfo() { this.pickupType = PickupType.UNKNOWN; this.renderer = null; this.hitRectSize = new Vector2f(0, 0); this.effect = null; }
public cPickupInfo(PickupType type, PickupEffectFunction effect, IntRect texture_rect) { this.type = type; this.textureRect = texture_rect; this.effect = effect; }
public cPickupInfo() { this.type = PickupType.UNKNOWN; this.textureRect = new IntRect(0, 0, 0, 0); this.effect = null; }