mirror of
https://github.com/caperren/school_archives.git
synced 2025-11-09 21:51:15 +00:00
Added Software Engineering II code
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#ifndef _DOMINION_HELPERS_H
|
||||
#define _DOMINION_HELPERS_H
|
||||
|
||||
#include "dominion.h"
|
||||
|
||||
int drawCard(int player, struct gameState *state);
|
||||
int updateCoins(int player, struct gameState *state, int bonus);
|
||||
int discardCard(int handPos, int currentPlayer, struct gameState *state,
|
||||
int trashFlag);
|
||||
int gainCard(int supplyPos, struct gameState *state, int toFlag, int player);
|
||||
int getCost(int cardNumber);
|
||||
int cardEffect(int card, int choice1, int choice2, int choice3,
|
||||
struct gameState *state, int handPos, int *bonus);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user