예제 #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);
 }
예제 #2
0
 public void SetIntegrater(TiledIntegrator integrator)
 {
     this.integrator = integrator;
 }
예제 #3
0
 /// <summary>
 /// Changes the integrator
 /// </summary>
 /// <param name="integrator"></param>
 public void SetIntegrater(TiledIntegrator integrator)
 {
     this.integrator = integrator;
 }
예제 #4
0
 public TilePosition(TiledIntegrator integrator)
 {
     this.SetIntegrater(integrator);
 }
예제 #5
0
 /// <summary>
 /// Create an instance for the TilePosition
 /// </summary>
 /// <param name="integrator"></param>
 public TilePosition(TiledIntegrator integrator)
 {
     this.SetIntegrater(integrator);
 }