Storage system refactor & map init.

* Demonstrated map init working with guns, toolboxes, tool lockers.
* Refactored EntityStorage and ServerStorage to have a common interface.
* EntityStorage no longer uses ServerStorage PURELY for visuals.
  Use an appearance visualizer instead.
This commit is contained in:
Pieter-Jan Briers
2019-05-05 18:52:06 +02:00
parent 030f1f2a57
commit e35d5390db
17 changed files with 384 additions and 950 deletions

View File

@@ -72,7 +72,10 @@
<Compile Include="GameObjects\Components\CatwalkComponent.cs" />
<Compile Include="GameObjects\Components\Damage\DamageThreshold.cs" />
<Compile Include="GameObjects\Components\Doors\ServerDoorComponent.cs" />
<Compile Include="GameObjects\Components\EntityStorageComponent.cs" />
<Compile Include="GameObjects\Components\Items\Storage\EntityStorageComponent.cs" />
<Compile Include="GameObjects\Components\Items\Storage\Fill\ToolboxElectricalFillComponent.cs" />
<Compile Include="GameObjects\Components\Items\Storage\Fill\ToolLockerFillComponent.cs" />
<Compile Include="GameObjects\Components\Items\Storage\IStorageComponent.cs" />
<Compile Include="GameObjects\Components\Mobs\HeatResistanceComponent.cs" />
<Compile Include="GameObjects\Components\Interactable\HandheldLightComponent.cs" />
<Compile Include="GameObjects\Components\Interactable\Tools\BaseTool.cs" />