Controller.java 714 B

1234567891011121314151617181920212223242526272829303132
  1. package me.hammerle.supersnuvi.entity.components.ai;
  2. import me.hammerle.supersnuvi.entity.Entity;
  3. import me.hammerle.supersnuvi.gamelogic.Level;
  4. import me.hammerle.supersnuvi.tiles.Tile;
  5. import me.hammerle.supersnuvi.util.Face;
  6. public class Controller
  7. {
  8. public final static Controller NULL = new Controller();
  9. public void tick(Entity ent, Level level)
  10. {
  11. }
  12. public void renderTick(Entity ent, float lag)
  13. {
  14. }
  15. public boolean isAnimated()
  16. {
  17. return false;
  18. }
  19. public void onCollideWithTile(Entity ent, int x, int y, Level l, Tile t, Face face)
  20. {
  21. }
  22. public void onCollideWithEntity(Entity ent, Entity other, Face face)
  23. {
  24. }
  25. }