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

Minor reordering of stuff for readability.

parent 4aa44af2
No related branches found
No related tags found
1 merge request!35Massive rework of inventory system.
...@@ -34,6 +34,16 @@ Notes for using the inventory system: ...@@ -34,6 +34,16 @@ Notes for using the inventory system:
namespace BigSock.Item { namespace BigSock.Item {
/*
The different areas of the inventory.
*/
public enum InventoryType {
Backpack,
Tool,
Accessory,
Equipment,
}
/* /*
An inventory of a character. An inventory of a character.
*/ */
...@@ -238,16 +248,6 @@ namespace BigSock.Item { ...@@ -238,16 +248,6 @@ namespace BigSock.Item {
} }
/*
The different areas of the inventory.
*/
public enum InventoryType {
Backpack,
Tool,
Accessory,
Equipment,
}
/* /*
...@@ -427,13 +427,8 @@ namespace BigSock.Item { ...@@ -427,13 +427,8 @@ namespace BigSock.Item {
/* /*
ToDo: ToDo:
- Change the caps so they scale up the list itself instead. - SectionCap.set => Shrink.
- Get => Lst.Count;
- Set => if(val > Lst.Count) add nulls; else try to remove nulls, throw if can't trim.
- Move method.
- Way to extract abilities from the tools. - Way to extract abilities from the tools.
- New pick up and drop methods. (Take into account that slots are managed wildly now)
*/ */
} }
......
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