Commit d976b7e3 authored by Ahmad Reza's avatar Ahmad Reza
Browse files

Added get_world_size method in world.py

parent 469621a6
......@@ -241,6 +241,12 @@ class World:
"""
return self.config_data.size_y
def get_world_size(self):
"""
:return: Returns the maximal (x,y) size of the world as a tupel
"""
return (self.config_data.size_x, self.config_data.size_y)
def get_tile_deleted(self):
return self.__tile_deleted
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment