diff --git a/README.md b/README.md index ba33aae..57b7153 100644 --- a/README.md +++ b/README.md @@ -17,8 +17,8 @@ The default renderer only displays the item as the text. The API for custom rend ```python3 class Whatever(triditko.Renderer): - def render(itemname: str) -> pygame.Surface: ... + def render(itemname: str, w: int, h: int) -> pygame.Surface: ... ``` The renderer is passed as the fully qualified class name (i.e. if that code is -in file `renderers.py`, pass `renderers.Whatever`) +in file `renderers.py`, pass `renderers:Whatever`)