Package de.christopherstock.shooter.g3d.wall

Examples of de.christopherstock.shooter.g3d.wall.Wall


            );
        }

        public static final Wall createCrate( float x, float y, float z, float rotZ, Scalation scalation )
        {
            return new Wall(   Others.ECrate1, new LibVertex( x, y, z ), rotZ, scalation, Invert.ENo, WallCollidable.EYes, WallAction.ENone, WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.ECrate1, null, 0, WallHealth.ECrate, FXSize.ESmall, null );
        }
View Full Code Here


        {
            //TODO LOW let random assign different topping positions

            return new WallCollection
            (
                new Wall(   Others.EDeskOffice1,    new LibVertexx, y, z    ), rotZ,  Scalation.ENone,        Invert.EYes, WallCollidable.EYes, WallAction.ENone,   WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.EWood1, new LibTexture[] { WallTex.EScreen2, }, 0, WallHealth.ESolidWood, FXSize.ESmall, null   ),
                new Wall[]
                {
                  //new Wall(   Others.EKeyboard1,  new LibVertex(  -0.25f,  0.0f,    0.8f    ), 180.0f,    Scalation.ENone,        Invert.EYes, WallCollidable.EYes, WallAction.ENone,   WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.EWood1,        WallTex.EScreen2, WallHealth.EElectricalDevice, FXSize.ESmall, null   ),
                  //new Wall(   Others.EScreen1,    new LibVertex(  -0.75f,  0.0f,    0.8f    ), 180.0f,    Scalation.ENone,        Invert.EYes, WallCollidable.EYes, WallAction.ENone,   WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.EWood1,        WallTex.EScreen2, WallHealth.EElectricalDevice, FXSize.ESmall, null   ),

                    new Wall(   Others.EScreen1,    new LibVertex-0.70f,  -1.00f0.8f    ), 150.0f,    Scalation.ENone,        Invert.EYes, WallCollidable.EYes, WallAction.ENone,   WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.EWood1,        new LibTexture[] { WallTex.EScreen2, WallTex.EScreen3, }, Performance.TICKS_TEXTURE_ANIMATION_SLOW, WallHealth.EElectricalDevice, FXSize.ESmall, null ),
                    new Wall(   Others.EKeyboard1,  new LibVertex-0.40f,  -0.65f0.8f    ), 160.0f,    Scalation.ENone,        Invert.EYes, WallCollidable.EYes, WallAction.ENone,   WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.EWood1,        new LibTexture[] { WallTex.EScreen2, }, 0, WallHealth.EElectricalDevice, FXSize.ESmall, null   ),
                }
            );
        }
View Full Code Here

        {
            //let random assign different topping positions

           return new WallCollection
           (
               new Wall(   Others.EDeskLab1,    new LibVertexx, y, z    ), rotZ,  Scalation.ENone,        Invert.EYes, WallCollidable.EYes, WallAction.ENone, WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.EBricks2, new LibTexture[] { WallTex.EPlastic1, }, 0, WallHealth.EUnbreakale, null, null ),
               new Wall[]
               {
                 //new Wall(   Others.EKeyboard1,  new LibVertex(  -0.25f,  0.0f,    0.8f    ), 180.0f,    Scalation.ENone,        Invert.EYes, WallCollidable.EYes, WallAction.ENone,   WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.EWood1,        WallTex.EScreen2, WallHealth.EElectricalDevice, FXSize.ESmall, null   ),
                 //new Wall(   Others.EScreen1,    new LibVertex(  -0.75f,  0.0f,    0.8f    ), 180.0f,    Scalation.ENone,        Invert.EYes, WallCollidable.EYes, WallAction.ENone,   WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.EWood1,        WallTex.EScreen2, WallHealth.EElectricalDevice, FXSize.ESmall, null   ),
                 //new Wall(   Others.EScreen1,    new LibVertex(  -0.70f,  -1.00f,  0.8f    ), 150.0f,    Scalation.ENone,        Invert.EYes, WallCollidable.EYes, WallAction.ENone,   WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.EWood1,        WallTex.EScreen2, WallHealth.EElectricalDevice, FXSize.ESmall, null   ),
View Full Code Here

            switch ( style )
            {
                case ENoWall:
                {
                    //just the ceiling
                    if ( ceilingTex != null ) allWalls.add( new Wall(         Others.EFloor1x1,           new LibVertexx, y,    2.5f       ),  angle + 180.0f,   Scalation.ENone, Invert.ENo,   WallCollidable.EYes,  WallAction.ENone, WallClimbable.ENo, DrawMethod.EAlwaysDraw, ceilingTex, null, 0, WallHealth.EUnbreakale, null, null ) );
                    break;
                }

                case ESolidWall:
                {
                    if ( wallTex    != null ) allWalls.add( new Wall(         Others.EWall1Solid,         new LibVertexx, y,    0.0f       ),  angle,   Scalation.ENone, Invert.ENo,   WallCollidable.EYes,  WallAction.ENone, WallClimbable.ENo, DrawMethod.EAlwaysDraw, wallTex, null, 0, WallHealth.EUnbreakale, null, null ) );
                    if ( ceilingTex != null ) allWalls.add( new Wall(         Others.EFloor1x1,           new LibVertexx, y,    2.5f       ),  angle + 180.0f,   Scalation.ENone, Invert.ENo,   WallCollidable.EYes,  WallAction.ENone, WallClimbable.ENo, DrawMethod.EAlwaysDraw, ceilingTex, null, 0, WallHealth.EUnbreakale, null, null ) );
                    break;
                }
                case EWindows:
                {
                    if ( wallTex    != null ) allWalls.add( new Wall(         Others.EWall1WindowSocket,  new LibVertexx, y,    0.0f       ),  angle,   Scalation.ENone, Invert.ENo,   WallCollidable.EYes,  WallAction.ENone, WallClimbable.ENo, DrawMethod.EAlwaysDraw, wallTex, null, 0, WallHealth.EUnbreakale, null, null ) );
                    if ( wallTex    != null ) allWalls.add( new Wall(         Others.EWall1WindowGlass,   new LibVertexx, y,    0.0f       ),  angle,   Scalation.ENone, Invert.ENo,   WallCollidable.EYes,  WallAction.ENone, WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.EGlass1, null, 0, WallHealth.EGlass, null, null ) );
                    if ( ceilingTex != null ) allWalls.add( new Wall(         Others.EFloor1x1,           new LibVertexx, y,    2.5f       ),  angle + 180.0f,   Scalation.ENone, Invert.ENo,   WallCollidable.EYes,  WallAction.ENone, WallClimbable.ENo, DrawMethod.EAlwaysDraw, ceilingTex, null, 0, WallHealth.EUnbreakale, null, null ) );
                    break;
                }
                case EWindowsAndCeilingWindows:
                {
                    if ( wallTex    != null ) allWalls.add( new Wall(         Others.EWall1WindowSocket,  new LibVertexx, y,    0.0f       ),  angle,   Scalation.ENone, Invert.ENo,   WallCollidable.EYes,  WallAction.ENone, WallClimbable.ENo,  DrawMethod.EAlwaysDraw, wallTex,    null, 0, WallHealth.EUnbreakale, null, null ) );
                    if ( wallTex    != null ) allWalls.add( new Wall(         Others.EWall1WindowGlass,   new LibVertexx, y,    0.0f       ),  angle,   Scalation.ENone, Invert.ENo,   WallCollidable.EYes,  WallAction.ENone, WallClimbable.ENo,  DrawMethod.EAlwaysDraw, WallTex.EGlass1,    null, 0, WallHealth.EGlass, null, null ) );
                    if ( ceilingTex != null ) allWalls.add( new Wall(         Others.EFloor1x1,           new LibVertexx, y,    2.5f       ),  angle + 180.0f,   Scalation.ENone, Invert.ENo,   WallCollidable.EYes,  WallAction.ENone, WallClimbable.ENo, DrawMethod.EAlwaysDraw, WallTex.EGlass1, null, 0, WallHealth.EGlass, null, null ) );
                    break;
                }
            }
        }
View Full Code Here

TOP

Related Classes of de.christopherstock.shooter.g3d.wall.Wall

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.