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

Changed some testing code

parent 1e994090
No related branches found
No related tags found
1 merge request!23Created ItemService.
...@@ -25,7 +25,7 @@ namespace BigSock.Item { ...@@ -25,7 +25,7 @@ namespace BigSock.Item {
/* /*
The max number of items the inventory can hold. The max number of items the inventory can hold.
*/ */
public int Cap { get; set; } = 3; public int Cap { get; set; } = 10;
/* /*
......
...@@ -49,7 +49,8 @@ namespace BigSock { ...@@ -49,7 +49,8 @@ namespace BigSock {
hpBar.SetHealth(Convert.ToInt32(HP)); hpBar.SetHealth(Convert.ToInt32(HP));
//!! DEBUG: Add item to player at start to test if it works. //!! DEBUG: Add item to player at start to test if it works.
TryPickUpItem(new ItemFourEyes()); TryPickUpItem(ItemService.SINGLETON.Get(201));
TryPickUpItem(ItemService.SINGLETON.Get(201));
} }
......
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