Commit d84f4091 authored by 16홍선우's avatar 16홍선우

ManagementUIController modified

parent 3387d449
...@@ -14,13 +14,15 @@ public class ManagementUIController : MonoBehaviour { ...@@ -14,13 +14,15 @@ public class ManagementUIController : MonoBehaviour {
public LinkedList<Production> mProduction; public LinkedList<Production> mProduction;
public LinkedList<Production> mDeployment; public LinkedList<Production> mDeployment;
private Player mPlayer;
private GameObject gameManagerObject; private GameObject gameManagerObject;
private CIVGameManager gameManager; private CIVGameManager gameManager;
private Presenter mPresenter; private Presenter mPresenter;
public Transform newProduction; public Transform newProduction;
public Transform newPlacement; public Transform newPlacement; // prefabs
public Button pioneer; public Button pioneer; // new unit production when clicked
public void setControlUI () public void setControlUI ()
{ {
...@@ -57,6 +59,7 @@ public class ManagementUIController : MonoBehaviour { ...@@ -57,6 +59,7 @@ public class ManagementUIController : MonoBehaviour {
void Update() void Update()
{ {
mProduction = mProduction = mPlayer.Production; // The list of the not-finished productions of this player
mDeployment = mPlayer.Deployment; // The list of the ready-to-deploy productions of this player
} }
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment