Lights, colored items (only used for wires atm)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user