Stash.setSlots C# (CSharp) Method

setSlots() public method

public setSlots ( ) : void
return void
	void setSlots(){
		stashSlots = new Slot[stashStorageWidth, stashStorageHeight];
		for(int x = 0; x < stashStorageWidth ; x++){
			for(int y = 0; y < stashStorageHeight ; y++){
				stashSlots[x,y] = new Slot(new Rect(slotsOffsetX + slotWidth*x, slotsOffsetY + slotHeight*y, slotWidth, slotHeight));
			}
		}
	}