Example #1
0
 //Used for real items
 public Item(Image image, int x, int y, Effect effect)
 {
     X = x;
     Y = y;
     Image = image;
     Effect = effect;
     SpawnTick = Environment.TickCount;
     DespawnTick = Environment.TickCount + MAX_TICK_TIME_ON_FIELD;
     ShowCaseItem = false;
 }
Example #2
0
 //Used for showcase items
 public Item(Image image, Effect effect)
 {
     Image = image;
     Effect = effect;
     ShowCaseItem = true;
 }