Package com.aqpproject.tools

Examples of com.aqpproject.tools.Color


        this.y = posY;
        this.width = sprite.getRegion().getRegionWidth();
        this.height = sprite.getRegion().getRegionHeight();
        this.rotation = rotation;
        m_frame = frame;
        m_teint = new Color(1, 1, 1, 1);
        m_scale = 1.f;
        m_shadowSize = 0;
        m_useRealCenter = useRealCenter;
    }
View Full Code Here


        Singleton.getVisualisation().updateTextActor(m_textActorName, m_playerName, getCenter().x - 32, getCenter().y + 64);//pos.x+32, pos.y+64);

        Vector2D center = getCenter();

        if (m_powerDown) {
            Singleton.getVisualisation().setActorTeint(m_name, new Color(0, 1, 0, 1));
            Singleton.getVisualisation().updateParticleActor(m_name + "_smoke", center.x, center.y, true);
        } else if (m_boost) {
            center.translate(getDirection().scale(-32));
            Singleton.getVisualisation().updateParticleActor(m_name + "_smoke", center.x, center.y, true);
        } else {
            Singleton.getVisualisation().setActorTeint(m_name, new Color(1, 1, 1, 1));
        }

        center = getCenter();
        center.translate(getDirection().scale(-32));
        Singleton.getVisualisation().updateParticleActor(m_name + "_durt", center.x, center.y, m_durt);
View Full Code Here

TOP

Related Classes of com.aqpproject.tools.Color

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.