mirror of
https://github.com/Steffo99/flyingsnake.git
synced 2024-12-22 14:44:17 +00:00
Remove unused constants
This commit is contained in:
parent
fe47c30797
commit
6b3a186ec4
1 changed files with 0 additions and 3 deletions
|
@ -4,9 +4,6 @@ import json
|
||||||
from PIL import Image, ImageDraw
|
from PIL import Image, ImageDraw
|
||||||
from .default_colors import DEFAULT_COLORS
|
from .default_colors import DEFAULT_COLORS
|
||||||
|
|
||||||
DEFAULT_REGION_VALUE = 1_000_000
|
|
||||||
DEFAULT_COORDS = -1
|
|
||||||
|
|
||||||
|
|
||||||
def get_region_size(*, world, min_x, min_y, region_width, region_height):
|
def get_region_size(*, world, min_x, min_y, region_width, region_height):
|
||||||
min_x = max(0, min_x or 0)
|
min_x = max(0, min_x or 0)
|
||||||
|
|
Loading…
Reference in a new issue