DarkTornado

Property Class Example

Jun 4th, 2011
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.56 KB | None | 0 0
  1.         public class Property
  2.         {
  3.             public float min; //Minimum initial value.
  4.             public float max; //Maximum initial value.
  5.             public float increase; //The value is increased by this variable every second.
  6.             public float wiggle; //The amount of wiggling.
  7.  
  8.             public Property(float min, float max, float increase, float wiggle)
  9.             {
  10.                 this.min = min;
  11.                 this.max = max;
  12.                 this.increase = increase;
  13.                 this.wiggle = wiggle;
  14.             }
  15.         }
Advertisement
Add Comment
Please, Sign In to add comment