Package de.christopherstock.lib.Lib

Examples of de.christopherstock.lib.Lib.ViewSet


        public final LevelConfigMain createNewLevelConfig()
        {
            return new LevelConfigMain
            (
                "Player's Office",
                new ViewSet( 7.0f, 0.0f, 2.5f, 0.0f, 0.0f, 30.0f ),
                new ArtefactType[]   {  ArtefactType.ETranquilizerGun,  ArtefactType.EWaltherPPK,  ArtefactType.EMagnum357, ArtefactType.ESpaz12,  ArtefactType.ERCP180,  ArtefactType.ESniperRifle, ArtefactType.EAdrenaline, },
                new ItemEvent[]  {  ItemEvent.EGainAmmo20TranquilizerDarts, ItemEvent.EGainAmmo20TranquilizerDarts, ItemEvent.EGainAmmo20TranquilizerDarts, ItemEvent.EGainAmmo20TranquilizerDarts, ItemEvent.EGainAmmo20Bullet44mm,  ItemEvent.EGainAmmo20Bullet44mm, ItemEvent.EGainAmmo20Bullet44mm,ItemEvent.EGainAmmo20Bullet44mm,ItemEvent.EGainAmmo20Bullet44mm, ItemEvent.EGainAmmo20ShotgunShells, ItemEvent.EGainAmmo18MagnumBullet, ItemEvent.EGainGadgetHandset1, ItemEvent.EGainGadgetCrackers, ItemEvent.EGainAmmo120Bullet792mm, ItemEvent.EGainAmmo120Bullet792mm, },
                InvisibleZeroLayerZ.ENo,
                SoundBg.EExtraction
View Full Code Here


        {
            //clear gl
            LibGL3D.view.clearGl( LibColors.EBlack );

            //set global camera
            LibGL3D.view.setCamera( new ViewSet( 0.0f, 0.0f, 0.0f, 0.0f, 0.0f, 180.0f ) );

            //specify lights
            LibGLLight[] lights = new LibGLLight[]
            {
                new LibGLLight
View Full Code Here

            {
                //reset gl
                LibGL3D.view.clearGl( Level.currentSection().getBackgroundColor() );

                //get camera from player's position and orientation
                ViewSet cam = Level.currentPlayer().getCameraPositionAndRotation();

                //draw scene bg
                Level.currentSection().drawBg( cam );

                //set player's camera
View Full Code Here

                //enter matrix mode modelview
                GL11.glMatrixMode( GL11.GL_MODELVIEW );
            }

            return new ViewSet
            (
                posX,
                posY,
                posZ,
                iView.iRot.x + iView.iDieModX,
View Full Code Here

TOP

Related Classes of de.christopherstock.lib.Lib.ViewSet

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.