Skip to content

Commit

Permalink
Added removeTeleporter() stub to TeleportCountdown
Browse files Browse the repository at this point in the history
  • Loading branch information
cguckelsberger committed Nov 28, 2014
1 parent c00583b commit d6e5d74
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Assets/Scripts/LevelGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ private void createObstacles(){
if(!collides){
objectPositions[n.id].Add (position);
GameObject obstacle = Instantiate(prefab_obstacle) as GameObject;
obstacle.transform.position=new Vector3(position.x,0.8f,position.y);
obstacle.transform.position=new Vector3(position.x,1.1f,position.y);
obstacle.transform.parent = gameObject.transform;
}else{
i--;
Expand Down
7 changes: 4 additions & 3 deletions Assets/Scripts/TeleportCountdown.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,10 +101,11 @@ public void initializeTeleporting(){
}
this.lastReset = Time.time - (timerLength - alarmPeriod);
}
/*

public void removeTeleporter(){
this.levelGenerator.getTeleportGraph().
}*/
Debug.Log ("Teleporter to be removed!");
//this.levelGenerator.getTeleportGraph().
}

public void teleport(){

Expand Down

0 comments on commit d6e5d74

Please sign in to comment.