Commit 4ee7bef3 authored by nargessalehi98's avatar nargessalehi98

Check prize expiration.

parent 76006a10
......@@ -8,8 +8,14 @@ public class Prize {
int x;
int y;
int width;
public boolean CheckExpiration() {
return checkExpiration;
}
int height;
String name;
boolean checkExpiration=false;
public Prize(int x, int y, int width, int height, String name) {
this.x = x;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment