Ignore:
Timestamp:
2015-07-01 22:59:27 (7 years ago)
Author:
sieerinn
Message:

Kenttäsiirtymät laitettu takaisin.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 2015/27/ohjaajat/TheLegendOfGabriel/TheLegendOfGabriel/TheLegendOfGabriel/LevelCreation.cs

    r6713 r6714  
    2626    { 
    2727        bossSpawnPositions.Clear(); 
     28 
    2829        var level = TiledTileMap.FromLevelAsset(levelName); 
    2930        level.SetTileMethod("base", CreateBaseTile); 
     
    259260    void CreateBasicTile(Vector position, double width, double height, Image image, int layer, Dictionary<string, string> properties) 
    260261    { 
     262        //var tile = new GameObject(width, height); 
    261263        var tile = properties.ContainsKey("collide") ? PhysicsObject.CreateStaticObject(width, height) : new GameObject(width, height); //new PhysicsObject(width, height)  PhysicsObject.CreateStaticObject(width, height) 
    262264        tile.Image = image; 
Note: See TracChangeset for help on using the changeset viewer.