public void CompleteConstruction(ConstructionBuilding location) { this.build.Remove(location.ConstructionHandler); BunkaGame.BuildingManager.CreateBuilding(location.ConstructionHandler.BuildingType, location.Position); }
public void RequestBuilder(ConstructionBuilding location) { this.buildRequests.AddLast(new BuildRequest(location)); }
// OnStateEnter is called when a transition starts and the state machine starts to evaluate this state override public void OnStateEnter(Animator animator, AnimatorStateInfo stateInfo, int layerIndex) { targetBuilding = animator.GetComponent <Citizen>().GetCurrentTarget().GetComponent <ConstructionBuilding>(); currentTimer = mineInterval; }