Skip to content

Instantly share code, notes, and snippets.

@minecraftmuse3
Created December 15, 2015 05:52
Show Gist options
  • Save minecraftmuse3/b33f879482dfffd07833 to your computer and use it in GitHub Desktop.
Save minecraftmuse3/b33f879482dfffd07833 to your computer and use it in GitHub Desktop.
#include "TestSword.h"
TestSword::TestSword(const std::string& name,int id, const std::string& textureName, const Material&) {
ItemSword(name, id, textureName, material);
}
#include "ItemSword.h"
class TestSword : public ItemSword {
public:
TestSword(const std::string&, int, const std::string&, const Material&);
}
@minecraftmuse3
Copy link
Author

You will need an ItemSword.h

@Khristian-kun
Copy link

and how to make a new material? also can u make a ItemSword.h gist?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment