public void mousePressed(MouseEvent e) {

            //get the current player
            Player p = model.playerList.getCurrentPlayer();

            //get the coordinate that the mouse is clicked on
            int x = screenToTile(e.getX() + p.getCamera().x, model.world.getWidth());
            int y = screenToTile(e.getY() + p.getCamera().y, model.world.getHeight());

            Tile tile = model.world.getTile(x,y);

            //Unit Creation
            if(e.getButton() == MOUSE_LEFT)
            {
                model.leftClick(model.world.getTile(x,y), e.isShiftDown());
            }

            if(e.getButton() == MOUSE_RIGHT)
            {
                model.rightClick(tile, e.isShiftDown(), new Point(e.getX() + p.getCamera().x,e.getY() + p.getCamera().y),new Point(view.worldPanel.getWidth(), view.worldPanel.getHeight()));
            }

            if(e.getButton() == MOUSE_RIGHT)
            {

            }

            updateHUD();

            /*
                    NOTE:
                        Switching to next player still done in controller
                        FIX THIS SICK FILTH
             *
             *      This cannot be done, the renderer is relative to the current player, which is stored in
             *      the view. Eventually the advancement will be done with a button, and that button will
             *      just have to be modeled in the controller.
             *
             */

            if(e.getButton() == MOUSE_MIDDLE){
                // Old switch turns method commented out

               /*
                    // Check if current player is NOT last player
                if (model.playerList.getList().indexOf(
                    model.playerList.getCurrentPlayer()) <
                    model.playerList.getList().size() - 1) {
                        model.playerList.advancePlayer();
                        view.worldPanel.setPlayer(model.playerList.getCurrentPlayer());
                        view.update();
                } else {
                    // Currently calling controller's changeState directly
                    // make listener?
                        this.controller.changeToAdvance();
                }*/
            }


            return;
        }