Store the start position in a map
This commit is contained in:
		@@ -9,7 +9,7 @@ class TestInterfaces(unittest.TestCase):
 | 
			
		||||
        """
 | 
			
		||||
        Create a map and check that it is well parsed.
 | 
			
		||||
        """
 | 
			
		||||
        m = Map.load_from_string(".#\n#.\n")
 | 
			
		||||
        m = Map.load_from_string("0 0\n.#\n#.\n")
 | 
			
		||||
        self.assertEqual(m.width, 2)
 | 
			
		||||
        self.assertEqual(m.height, 2)
 | 
			
		||||
        self.assertEqual(m.draw_string(TexturePack.ASCII_PACK), ".#\n#.")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user