Ignore:
Timestamp:
2015-06-29 18:18:31 (4 years ago)
Author:
sieerinn
Message:

Kenttäsiirtymä on melko valmis.

File:
1 edited

Legend:

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

    r6538 r6539  
    1111{ 
    1212    public delegate void ObjectMethod( 
    13         Vector position, double width, double height, Angle angle, Shape shape, Dictionary<string, string> properties); 
     13        Vector position, double width, double height, Angle angle, Shape shape, string name, Dictionary<string, string> properties); 
    1414 
    1515    public delegate void TileMethod( 
     
    102102            var len = Math.Sqrt(Math.Pow(obj.Width * 0.5, 2) + Math.Pow(obj.Height * 0.5, 2)); 
    103103            var positionFix = Vector.FromLengthAndAngle(len, angle + Angle.FromRadians(-Math.Atan2(obj.Height, obj.Width))); 
    104             method(topLeft + positionFix, obj.Width, obj.Height, angle, shape, obj.Properties); 
     104            method(topLeft + positionFix, obj.Width, obj.Height, angle, shape, obj.Name, obj.Properties); 
    105105        } 
    106106    } 
Note: See TracChangeset for help on using the changeset viewer.