GameMode/CrewManager bugfixes, fabricators

This commit is contained in:
Regalis
2015-06-19 11:53:31 +03:00
parent 2ef92c4af0
commit 24ba9b1b98
26 changed files with 420 additions and 98 deletions
+4 -3
View File
@@ -1,4 +1,5 @@
using Subsurface.Items.Components;
using Microsoft.Xna.Framework;
using Subsurface.Items.Components;
namespace Subsurface
{
@@ -6,8 +7,8 @@ namespace Subsurface
{
ItemContainer container;
public ItemInventory(ItemContainer container, int capacity)
: base(capacity)
public ItemInventory(ItemContainer container, int capacity, Vector2? centerPos = null, int slotsPerRow = 5)
: base(capacity, centerPos, slotsPerRow)
{
this.container = container;
}