public Wall() { GraphicManager graphicManager = GraphicManager.getInstance(); texture = graphicManager.LoadTexture("wall"); mat = graphicManager.getMat(); Debug.Log("\tWall created with texture " + texture); }