public Projectil(int id)
 {
     projectile = new Box(2.0f, 0.5f, 1.0f);
     translateX = 6.34f;
     translateY = 0.16f;
     translateZ = -0.88f;
     this.id = id;
 }
        public MainScene(int width, int height)
        {

            this.width = width;
            this.height = height;

            tank = new Tank();

            font = new OutlineFont("Verdana", 14, 0.2f, true, false, false, false);

            wall = new Box(16.0f, 4.0f, 1.0f);
            wall2 = new Box(16.0f, 4.0f, 1.0f);
            wall3 = new Box(16.0f, 4.0f, 1.0f);

            textureId = new int[textureCount];

            this.Init(0.2f, 0.2f, 0.2f, 1.0f);

            shipModel = new Ship(textureId[(int)TextureObjects.Metal]);



            this.Resize();
        }