Example #1
0
 public void SetTile(TiledIntegrator.Tile tile)
 {
     if (this.Tile == tile)
         return;
     if (this.Tile != null)
         this.Tile.Entities.Remove(this.Entity);
     this.Tile = tile;
     if( this.Tile != null )
         this.Tile.Entities.Add(this.Entity);
 }
Example #2
0
 public void SetIntegrater(TiledIntegrator integrator)
 {
     this.integrator = integrator;
 }
Example #3
0
 /// <summary>
 /// Changes the integrator
 /// </summary>
 /// <param name="integrator"></param>
 public void SetIntegrater(TiledIntegrator integrator)
 {
     this.integrator = integrator;
 }
Example #4
0
 public TilePosition(TiledIntegrator integrator)
 {
     this.SetIntegrater(integrator);
 }
Example #5
0
 /// <summary>
 /// Create an instance for the TilePosition
 /// </summary>
 /// <param name="integrator"></param>
 public TilePosition(TiledIntegrator integrator)
 {
     this.SetIntegrater(integrator);
 }