Lights, colored items (only used for wires atm)

This commit is contained in:
Regalis
2015-07-22 20:22:50 +03:00
parent 9a7eae8ace
commit 4820e55e05
51 changed files with 726 additions and 191 deletions
+6 -1
View File
@@ -11,7 +11,7 @@ namespace Subsurface
{
class ItemPrefab : MapEntityPrefab
{
static string contentFolder = "Content/Items/";
//static string contentFolder = "Content/Items/";
string configFile;
@@ -55,6 +55,11 @@ namespace Subsurface
get { return offsetOnSelected; }
}
public Vector2 Size
{
get { return size; }
}
public override void UpdatePlacing(SpriteBatch spriteBatch, Camera cam)
{
Vector2 position = Submarine.MouseToWorldGrid(cam);