@Override
    public void render(Graphics g) {
        if (type == GHOST_IMMORTAL) g.setColor(Color.GREEN);
        else if (type == GHOST_KILLABLE) g.setColor(Color.RED);
        g.fillRect((int) x, (int) y, 20, 20);
    }