Add function to compare colors
This commit is contained in:
@@ -31,6 +31,8 @@
|
||||
#ifndef UTILS_H
|
||||
#define UTILS_H
|
||||
|
||||
#include <stdbool.h>
|
||||
|
||||
#include <SDL2/SDL.h>
|
||||
|
||||
|
||||
@@ -63,4 +65,6 @@ long long Utils_time();
|
||||
void Utils_randInit();
|
||||
int Utils_rand(int min, int max);
|
||||
|
||||
bool Utils_equalColors(SDL_Color color1, SDL_Color color2);
|
||||
|
||||
#endif // UTILS_H
|
||||
|
||||
Reference in New Issue
Block a user