Ultimato il sistema di restore del contatore oggetti inseriti id

This commit is contained in:
2013-12-18 01:18:34 +01:00
parent 40157c8ccf
commit 929fe8aaaa
3 changed files with 21 additions and 1 deletions

View File

@@ -24,11 +24,14 @@ public class Global {
return general_counter;
}
public static void setGeneral_counter(int general_counter) {
Global.general_counter = general_counter;
}
/**
* E' il contatore statico privato
*/
private static int general_counter = 0;
private static int general_counter;
}