diff --git a/Blocktest/Code/Block System/Block.cs b/Blocktest/Code/Block System/Block.cs index 9e37059..c1424d8 100644 --- a/Blocktest/Code/Block System/Block.cs +++ b/Blocktest/Code/Block System/Block.cs @@ -1,4 +1,4 @@ -using Blocktest.Rendering; +using Blocktest.Rendering; namespace Blocktest { @@ -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 + "!"); } } diff --git a/Blocktest/Code/Blocks/Asphalt.cs b/Blocktest/Code/Blocks/Asphalt.cs new file mode 100644 index 0000000..fc2c05a --- /dev/null +++ b/Blocktest/Code/Blocks/Asphalt.cs @@ -0,0 +1,13 @@ +namespace Blocktest.Blocks +{ + public class Asphalt : Block + { + public override void Initialize() + { + blockName = "Asphalt"; + blockID = 9; + blockSmoothing = true; + base.Initialize(); + } + } +} \ No newline at end of file diff --git a/Blocktest/Code/Blocks/Brick.cs b/Blocktest/Code/Blocks/Brick.cs new file mode 100644 index 0000000..654e0b5 --- /dev/null +++ b/Blocktest/Code/Blocks/Brick.cs @@ -0,0 +1,13 @@ +namespace Blocktest.Blocks +{ + public class Brick : Block + { + public override void Initialize() + { + blockName = "Brick"; + blockID = 10; + blockSmoothing = true; + base.Initialize(); + } + } +} \ No newline at end of file diff --git a/Blocktest/Code/Blocks/Concrete.cs b/Blocktest/Code/Blocks/Concrete.cs new file mode 100644 index 0000000..3613a14 --- /dev/null +++ b/Blocktest/Code/Blocks/Concrete.cs @@ -0,0 +1,13 @@ +namespace Blocktest.Blocks +{ + public class Concrete : Block + { + public override void Initialize() + { + blockName = "Concrete"; + blockID = 14; + blockSmoothing = true; + base.Initialize(); + } + } +} \ No newline at end of file diff --git a/Blocktest/Code/Blocks/SmoothMetal.cs b/Blocktest/Code/Blocks/SmoothMetal.cs new file mode 100644 index 0000000..fb8a3c3 --- /dev/null +++ b/Blocktest/Code/Blocks/SmoothMetal.cs @@ -0,0 +1,13 @@ +namespace Blocktest.Blocks +{ + public class SmoothMetal : Block + { + public override void Initialize() + { + blockName = "Smooth Metal"; + blockID = 12; + blockSmoothing = true; + base.Initialize(); + } + } +} \ No newline at end of file diff --git a/Blocktest/Code/Blocks/StonePathBrick.cs b/Blocktest/Code/Blocks/StonePathBrick.cs new file mode 100644 index 0000000..dc60ed5 --- /dev/null +++ b/Blocktest/Code/Blocks/StonePathBrick.cs @@ -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(); + } + } +} \ No newline at end of file diff --git a/Blocktest/Code/Blocks/WoodPanel.cs b/Blocktest/Code/Blocks/WoodPanel.cs new file mode 100644 index 0000000..a1c0a35 --- /dev/null +++ b/Blocktest/Code/Blocks/WoodPanel.cs @@ -0,0 +1,13 @@ +namespace Blocktest.Blocks +{ + public class WoodPanel : Block + { + public override void Initialize() + { + blockName = "Wood Panel"; + blockID = 11; + blockSmoothing = true; + base.Initialize(); + } + } +} \ No newline at end of file diff --git a/Blocktest/Content/Graphics/Blocks/asphalt.png b/Blocktest/Content/Graphics/Blocks/asphalt.png new file mode 100644 index 0000000..123d32e Binary files /dev/null and b/Blocktest/Content/Graphics/Blocks/asphalt.png differ diff --git a/Blocktest/Content/Graphics/Blocks/brick.png b/Blocktest/Content/Graphics/Blocks/brick.png new file mode 100644 index 0000000..65db9e3 Binary files /dev/null and b/Blocktest/Content/Graphics/Blocks/brick.png differ diff --git a/Blocktest/Content/Graphics/Blocks/concrete.png b/Blocktest/Content/Graphics/Blocks/concrete.png new file mode 100644 index 0000000..39c3677 Binary files /dev/null and b/Blocktest/Content/Graphics/Blocks/concrete.png differ diff --git a/Blocktest/Content/Graphics/Blocks/smoothmetal.png b/Blocktest/Content/Graphics/Blocks/smoothmetal.png new file mode 100644 index 0000000..fa28e21 Binary files /dev/null and b/Blocktest/Content/Graphics/Blocks/smoothmetal.png differ diff --git a/Blocktest/Content/Graphics/Blocks/stonepathbrick.png b/Blocktest/Content/Graphics/Blocks/stonepathbrick.png new file mode 100644 index 0000000..073ab32 Binary files /dev/null and b/Blocktest/Content/Graphics/Blocks/stonepathbrick.png differ diff --git a/Blocktest/Content/Graphics/Blocks/woodpanel.png b/Blocktest/Content/Graphics/Blocks/woodpanel.png new file mode 100644 index 0000000..2c751ef Binary files /dev/null and b/Blocktest/Content/Graphics/Blocks/woodpanel.png differ