@@ -0,0 +1,714 @@
+package com.github.boformer.answerme.api;%0A%0Aimport java.util.Calendar;%0Aimport java.util.Date;%0Aimport org.spongepowered.api.util.command.CommandSource;%0A%0Apublic abstract class AbstractQuestion implements Question%0A%7B%0A%09private final CommandSource receipient;%0A%09private final Date expirationDate;%0A%09%0A%09public AbstractQuestion(CommandSource receipient, int expirationTime)%0A%09%7B%0A%09%09this.receipient = receipient;%0A%09%09%0A%09%09Calendar calendar = Calendar.getInstance();%0A%09%09calendar.add(Calendar.SECOND, expirationTime);%0A%09%09%0A%09%09this.expirationDate = calendar.getTime();%0A%09%7D%0A%0A%09@Override%0A%09public CommandSource getReceipient()%0A%09%7B%0A%09%09return receipient;%0A%09%7D%0A%0A%09@Override%0A%09public boolean isExpired()%0A%09%7B%0A%09%09return expirationDate.before(new Date());%0A%09%7D%0A%7D%0A

Add abstract question class