Package plar.core

Examples of plar.core.Element


                currentSpriteSet = new SpriteSet();
                currentSpriteSet.autoSize=false;
                currentSpriteSet.add(mme.explosionSprite);
                //  Common.info(1,"sprite is now:"+ currentSpriteSet.get(0).getFileName());
                for (Fixture s : ss) {
                    Element p = (Element) s.getBody().getUserData();

                    if (p.type==Common.ElementType.PLAYER) {

                        ((ElementPlayer) p).energy -= explosionDamage;
                        Common.info(5, "shooted to:" + p);
View Full Code Here


                currentSpriteSet = new SpriteSet();
                currentSpriteSet.autoSize=false;
                currentSpriteSet.add(mme.explosionSprite);
                //  Common.info(1,"sprite is now:"+ currentSpriteSet.get(0).getFileName());
                for (Fixture s : ss) {
                    Element p = (Element) s.getBody().getUserData();

                    if (p.type==Common.ElementType.PLAYER) {

                        ((ElementPlayer) p).energy -= explosionDamage;
                        Common.info(5, "shooted to:" + p);
View Full Code Here

TOP

Related Classes of plar.core.Element

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.