namespace TACO.Thingies { using System; public class Balloon : Thingie { private Slots.PushPull mStringSlot; public Balloon(string id) : base(id) { mStringSlot = new Slots.PushPull(); Slots.Add(mStringSlot); } public override double VelocityY { get { return base.VelocityY; } set { if (value < NaturalWeight) value = NaturalWeight; base.VelocityY = value; } } public override string Name { get { return "Balloon"; } } public override double NaturalWeight { get { return -1.0; } } } }