Skip to content

Commit

Permalink
Merge pull request #8 from Imaginos16/blockpack-one
Browse files Browse the repository at this point in the history
Blockpack One
  • Loading branch information
MarkSuckerberg authored Aug 23, 2023
2 parents 0d2c86a + c9a954f commit f66f44c
Show file tree
Hide file tree
Showing 13 changed files with 80 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Blocktest/Code/Block System/Block.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Blocktest.Rendering;
using Blocktest.Rendering;

namespace Blocktest
{
Expand Down Expand Up @@ -57,7 +57,7 @@ public virtual void LoadSprite(ContentManager content)
}
}
catch (ContentLoadException) {
blockSprite = new Drawable("Blocks\\error");
blockSprite = new Drawable(@"Graphics\Blocks\error");
Console.WriteLine("Block " + this + " does not have an icon at " + path + "!");
}
}
Expand Down
13 changes: 13 additions & 0 deletions Blocktest/Code/Blocks/Asphalt.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace Blocktest.Blocks
{
public class Asphalt : Block
{
public override void Initialize()
{
blockName = "Asphalt";
blockID = 9;
blockSmoothing = true;
base.Initialize();
}
}
}
13 changes: 13 additions & 0 deletions Blocktest/Code/Blocks/Brick.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace Blocktest.Blocks
{
public class Brick : Block
{
public override void Initialize()
{
blockName = "Brick";
blockID = 10;
blockSmoothing = true;
base.Initialize();
}
}
}
13 changes: 13 additions & 0 deletions Blocktest/Code/Blocks/Concrete.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace Blocktest.Blocks
{
public class Concrete : Block
{
public override void Initialize()
{
blockName = "Concrete";
blockID = 14;
blockSmoothing = true;
base.Initialize();
}
}
}
13 changes: 13 additions & 0 deletions Blocktest/Code/Blocks/SmoothMetal.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace Blocktest.Blocks
{
public class SmoothMetal : Block
{
public override void Initialize()
{
blockName = "Smooth Metal";
blockID = 12;
blockSmoothing = true;
base.Initialize();
}
}
}
13 changes: 13 additions & 0 deletions Blocktest/Code/Blocks/StonePathBrick.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace Blocktest.Blocks
{
public class StonePathBrick : Block
{
public override void Initialize()
{
blockName = "Stone Path Brick";
blockID = 13;
blockSmoothing = true;
base.Initialize();
}
}
}
13 changes: 13 additions & 0 deletions Blocktest/Code/Blocks/WoodPanel.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
namespace Blocktest.Blocks
{
public class WoodPanel : Block
{
public override void Initialize()
{
blockName = "Wood Panel";
blockID = 11;
blockSmoothing = true;
base.Initialize();
}
}
}
Binary file added Blocktest/Content/Graphics/Blocks/asphalt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Blocktest/Content/Graphics/Blocks/brick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Blocktest/Content/Graphics/Blocks/concrete.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Blocktest/Content/Graphics/Blocks/smoothmetal.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Blocktest/Content/Graphics/Blocks/stonepathbrick.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Blocktest/Content/Graphics/Blocks/woodpanel.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f66f44c

Please sign in to comment.