示例#1
0
        private void addVerticalPlatformTileAt(int x, int y, bool big, bool reverse)
        {
            Vector2 tilePosition = calculateMovingPlatformPosition(x, y, big);
            int     tileWidth    = calculateMovingPlatformWidth(big);

            VerticalMovingPlatform platformTile = new VerticalMovingPlatform(world, tilePosition, tileWidth, this.LevelMap.TileWidth, reverse);

            addDynamicTile(platformTile);
        }
示例#2
0
文件: Map.cs 项目: psykano/STFU-xna
        private void addVerticalPlatformTileAt(int x, int y, bool big, bool reverse)
        {
            Vector2 tilePosition = calculateMovingPlatformPosition(x, y, big);
            int tileWidth = calculateMovingPlatformWidth(big);

            VerticalMovingPlatform platformTile = new VerticalMovingPlatform(world, tilePosition, tileWidth, this.LevelMap.TileWidth, reverse);
            addDynamicTile(platformTile);
        }