} else if (direction == "SE") {
} else if (direction.equalsIgnoreCase("SE")) {
    private Entity parseEntityLine(String s)        throws Exception    {        try {            StringTokenizer st = new StringTokenizer(s, ",");            String sRef = st.nextToken();            MechSummary ms = MechSummaryCache.getInstance().getMech(sRef);            if (ms == null) {                throw new Exception("Scenario requires missing entity: " + sRef);            }            System.out.println("Loading " + ms.getName());            Entity e = new MechFileParser(ms.getSourceFile(), ms.getEntryName()).getEntity();            e.setCrew(new Pilot(st.nextToken(), Integer.parseInt(st.nextToken()),                     Integer.parseInt(st.nextToken())));            try {                String direction = st.nextToken();                if (direction == "N") {                    e.setFacing(0);                } else if (direction == "NW") {                    e.setFacing(5);                } else if (direction == "SW") {                    e.setFacing(4);                } else if (direction == "S") {                    e.setFacing(3);                } else if (direction == "SE") {                    e.setFacing(2);                }  else if (direction == "NE") {                    e.setFacing(1);                }                int x = Integer.parseInt(st.nextToken())-1;                int y = Integer.parseInt(st.nextToken())-1;                Coords coords = new Coords(x,y);                e.setPosition(coords);                e.setDeployed(true);            } catch (NoSuchElementException ex) {            }            return e;        } catch (NumberFormatException e) {            e.printStackTrace();            throw new Exception("Unparseable entity line: " + s);        } catch (NoSuchElementException e) {            e.printStackTrace();            throw new Exception("Unparseable entity line: " + s);        } catch (EntityLoadingException e) {            e.printStackTrace();            throw new Exception("Unparseable entity line: " + s + "\n   Unable to load mech: " + e.getMessage());        }    }