@Override
    public void update() {
        if(!isAlive || ObjectAction.getSnake() == null) {
            return;
        }
        // the snake movement method
        Movement.maintainDirection(this);
        
        // basic collision detection
        if(Collision.checkWallCollision(this)){
            Collision.handleCollision(true);
        }
        Miscellaneous.log("Snake Position: X:"+getPosition().getX()+" Y:"+getPosition().getY());
    }