View Javadoc
1   package com.jed.state;
2   
3   import org.colapietro.lang.LangConstants;
4   import org.colapietro.lang.NotImplementedException;
5   
6   /**
7    * Created by Peter Colapietro on 11/22/14.
8    *
9    * @author Peter Colapietro
10   * @since 0.1.8
11   */
12  public abstract class AbstractState implements State {
13  
14      @Override
15      public void entered() throws NotImplementedException {
16          throw new NotImplementedException(LangConstants.NOT_IMPLEMENTED_YET_MESSAGE);
17      }
18  
19      @Override
20      public void leaving() {
21          throw new NotImplementedException(LangConstants.NOT_IMPLEMENTED_YET_MESSAGE);
22      }
23  
24      @Override
25      public void update() {
26          throw new NotImplementedException(LangConstants.NOT_IMPLEMENTED_YET_MESSAGE);
27      }
28  }