Skip to content
Snippets Groups Projects
Commit 8d95c9e0 authored by Robin Halseth Sandvik's avatar Robin Halseth Sandvik
Browse files

Added notes for possible future development.

parent 11c39c2b
No related branches found
No related tags found
1 merge request!53ToolTips, new ability parameter system & misc clean ups.
...@@ -25,8 +25,8 @@ namespace BigSock.UI ...@@ -25,8 +25,8 @@ namespace BigSock.UI
public void Update() { public void Update() {
/* /*
If it hasn't ran before, and the position has changed, update the ItemPref. If it hasn't ran before, and the position has changed, update the ItemPref.
- This is to move the item to the item slot when it starts - This is to move the item to the item slot when it starts
- This has to be this way because the item slot is hoisted in the corner until this point. - This has to be this way because the item slot is hoisted in the corner until this point.
*/ */
if(!firstRan && transform.hasChanged) { if(!firstRan && transform.hasChanged) {
transform.hasChanged = false; transform.hasChanged = false;
...@@ -65,6 +65,12 @@ namespace BigSock.UI ...@@ -65,6 +65,12 @@ namespace BigSock.UI
itemPref.position = null; itemPref.position = null;
} }
/*
Notes:
- This doesn't handle what to do if this slot already had an item.
- This isn't a problem currently, since the inventory system will refuse to move an item into an occupied slot.
- If we want to add features to swap 2 items, this will need to be addressed.
*/
} }
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment