mirror of
https://github.com/ConjureETS/Human-Farm-Tycoon.git
synced 2026-03-24 02:11:07 +00:00
25 lines
762 B
C#
25 lines
762 B
C#
using UnityEngine;
|
|
using System.Collections;
|
|
|
|
public class Tasks {
|
|
|
|
private readonly int NB_WOOD_BY_ZOMBIE = 5;
|
|
private readonly int NB_ROCK_BY_ZOMBIE = 5;
|
|
private readonly int NB_MEAT_BY_ZOMBIE = 5;
|
|
private readonly int NB_CORPS_BY_ZOMBIE = 5;
|
|
|
|
private int woodGather;
|
|
private int rockGather;
|
|
private int meatGather;
|
|
private int corpsGather;
|
|
|
|
public Tasks(int nbZombieGoingToWood, int nbZombieGoingToRock, int nbZombieGoingToMeat, int nbZombieGoingToCorps)
|
|
{
|
|
woodGather = NB_WOOD_BY_ZOMBIE* nbZombieGoingToWood;
|
|
rockGather = NB_ROCK_BY_ZOMBIE * nbZombieGoingToRock;
|
|
meatGather = NB_MEAT_BY_ZOMBIE * nbZombieGoingToMeat;
|
|
corpsGather = NB_CORPS_BY_ZOMBIE * nbZombieGoingToCorps;
|
|
}
|
|
|
|
}
|