Controller.java 712 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. package me.hammerle.supersnuvi.entity.components.ai;
  2. import me.hammerle.supersnuvi.entity.Entity;
  3. import me.hammerle.supersnuvi.tiles.Location;
  4. import me.hammerle.supersnuvi.util.Face;
  5. public class Controller
  6. {
  7. public final static Controller NULL = new Controller(null);
  8. protected final Entity ent;
  9. protected Controller(Entity ent)
  10. {
  11. this.ent = ent;
  12. }
  13. public void tick()
  14. {
  15. }
  16. public void renderTick(float lag)
  17. {
  18. }
  19. public boolean isAnimated()
  20. {
  21. return false;
  22. }
  23. public void onCollideWithTile(Location loc, Face face)
  24. {
  25. }
  26. public void onCollideWithEntity(Entity ent, Face face)
  27. {
  28. }
  29. }