(README.md) Constants

This commit is contained in:
KikooDX 2020-04-12 19:05:47 +02:00
parent 6768589881
commit 4c4e785fdc
1 changed files with 6 additions and 0 deletions

View File

@ -19,6 +19,12 @@ times **h** (height).
`store_rect(x: int, y: int, w:int, h: int) -> SpriteRaw` :
Store all the pixels of the given area in a `SpriteRaw`.
## Constants
`C_BLACK`, `C_WHITE`, `C_RED`, `C_GREEN`, `C_BLUE`, `C_YELLOW`, `C_PURPLE`,
`C_CYAN`.
`PALLET_STR`, `PALLET_BYTE`.
## Sprite classes (WIP)
`SpriteIndexed` : indexed sprite. Draw using pallets.