Package transientlibs.preui.objects.gui.elements

Examples of transientlibs.preui.objects.gui.elements.Marker


        if (byTypeCode == MarkerType) {
           
            Log.info("Spawn marker");
           
            IImage assignImage = Detonator.INSTANCE.imageProvider.getImage(setImage);
            result = new Marker(assignImage, assignImage, setX, setY);
        }

        //AnimationMarker
        if (byTypeCode == AnimationMarkerType) {
View Full Code Here


             gridElements = new ArrayList<List<Marker>>();
        for (int y = 0; y <= screenHeightInTiles; y++) {
            gridElements.add(new ArrayList<Marker>());
            for (int x = 0; x <= screenWidthInTiles; x++) {
               
                gridElements.get(y).add (new Marker(null, 0, 0));
               
                gridElements.get(y).get(x).getScreenCoords().x = ((x - 1) * Terrain.tileWidth) ;
                gridElements.get(y).get(x).getScreenCoords().x -= (Terrain.tileWidth / 3);
                gridElements.get(y).get(x).getScreenCoords().x += Terrain.tileWidth * 1;
               
View Full Code Here

        gridElements = new ArrayList<List<Marker>>();
        for (int y = 0; y <= screenHeightInTiles; y++) {
            gridElements.add(new ArrayList<Marker>());
            for (int x = 0; x <= screenWidthInTiles; x++) {

                gridElements.get(y).add(new Marker(null, 0, 0));

                gridElements.get(y).get(x).getScreenCoords().x = ((x - 1) * Terrain.tileWidth);
                gridElements.get(y).get(x).getScreenCoords().x -= (Terrain.tileWidth / 3);
                gridElements.get(y).get(x).getScreenCoords().x += Terrain.tileWidth * 1;

 
View Full Code Here

             gridElements = new ArrayList<List<Marker>>();
        for (int y = 0; y <= screenHeightInTiles; y++) {
            gridElements.add(new ArrayList<Marker>());
            for (int x = 0; x <= screenWidthInTiles; x++) {
               
                gridElements.get(y).add (new Marker(null, 0, 0));
               
                /*
                gridElements.get(y).get(x).getScreenCoords().x = ((x - 1) * Terrain.tileWidth) ;
                gridElements.get(y).get(x).getScreenCoords().x -= (Terrain.tileWidth / 3);
               
View Full Code Here

       
        //Log.info("WAAAAAAAT: ");

        IImage team = Detonator.INSTANCE.imageProvider.getImage("team_logo");

        titleMarker = new Marker(team, 1, 1);
        passMarkerNoHover(titleMarker);
        titleMarker.centerImage();

actionButtons = addGroup(400, 600);
        actionButtons.addOption("Website").addPayload(new CallWebsite());
View Full Code Here

    ButtonGroup addGroup(int x, int y) {
        return addGroup(x, y, null, state.getButtonFont());
    }

    public IMarker addMarker(IImage setImage, IImage setHoveredImage, int setX, int setY) {
        state.getDrawStorage().add(new Marker(setImage, setHoveredImage, setX, setY));

        Marker.lastMarker = state.getDrawStorage().get((state.getDrawStorage().size() - 1));
        state.getHoverStorage().add(0, TextMarker.lastMarker);

        return Marker.lastMarker;
View Full Code Here

            String markerCode = analyst.getNextString();
            int setID = Binding.getBinding(Binding.interfaceTypeBinding, markerCode);
            int setX = analyst.getNextNumber();
            int setY = analyst.getNextNumber();

            Marker marker = new Marker(null, setX, setY);
            marker.ID = setID;


            //REIMPLEMENT LATER
            //StoryState.imagePoints.add(marker);
View Full Code Here

TOP

Related Classes of transientlibs.preui.objects.gui.elements.Marker

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.