Package de.ailis.xadrian.data

Examples of de.ailis.xadrian.data.Sun


                final Element element = (Element) item;
                final int percent = Integer.parseInt(element
                    .attributeValue("percent"));
                final int cycle = Integer.parseInt(element
                    .attributeValue("cycle"));
                final Sun suns = new Sun(this.game, percent, cycle);
                if (this.defaultSuns == null
                    || Boolean.parseBoolean(element
                        .attributeValue("default", "false")))
                    this.defaultSuns = suns;
                this.suns.add(suns);
View Full Code Here


                this.maxX = Math.max(this.maxX, x);
                final int y = Integer.parseInt(element.attributeValue("y"));
                this.maxY = Math.max(this.maxY, y);
                final int planets = Integer.parseInt(element
                    .attributeValue("planets"));
                final Sun suns = sunsFactory.getSun(Integer.parseInt(element
                    .attributeValue("suns")));
                final Race race = raceFactory.getRace(element
                    .attributeValue("race"));
                final boolean core = Boolean.parseBoolean(element
                    .attributeValue("core"));
View Full Code Here

TOP

Related Classes of de.ailis.xadrian.data.Sun

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.