예제 #1
0
        public PlayerModel(Game1 game)
        {
            headModel = new CubeModelForPlayer(game, 8, 8, 8, TexturePosInfoGenerator.Head);
            bodyModel = new CubeModelForPlayer(game, 8, 12, 4, TexturePosInfoGenerator.Body);

            armModelLeft = new CubeModelForPlayer(game, 4, 12, 4, TexturePosInfoGenerator.ArmLeft);
            armModelRight = new CubeModelForPlayer(game, 4, 12, 4, TexturePosInfoGenerator.ArmRight);

            legModelLeft = new CubeModelForPlayer(game, 4, 12, 4, TexturePosInfoGenerator.LegLeft);
            legModelRight = new CubeModelForPlayer(game, 4, 12, 4, TexturePosInfoGenerator.LegRight);
        }
예제 #2
0
        public PlayerModel(Game1 game)
        {
            headModel = new CubeModelForPlayer(game, 8, 8, 8, TexturePosInfoGenerator.Head);
            bodyModel = new CubeModelForPlayer(game, 8, 12, 4, TexturePosInfoGenerator.Body);

            armModelLeft  = new CubeModelForPlayer(game, 4, 12, 4, TexturePosInfoGenerator.ArmLeft);
            armModelRight = new CubeModelForPlayer(game, 4, 12, 4, TexturePosInfoGenerator.ArmRight);

            legModelLeft  = new CubeModelForPlayer(game, 4, 12, 4, TexturePosInfoGenerator.LegLeft);
            legModelRight = new CubeModelForPlayer(game, 4, 12, 4, TexturePosInfoGenerator.LegRight);
        }