Methods.PickupColorInPos - notruilin/DeceptionGame GitHub Wiki

public int[] PickupColorInPos(List list, int n);

Parameters

list A list of Vector3 positions
n The maximum number that can be carried

Description

Returns how many red, yellow and blue counters can be picked up if collect according to the given list. Red 0, yellow 1 and blue 2.

{0, 1, 2} means 0 red, 1 yellow and 2 blue counters.

⚠️ **GitHub.com Fallback** ⚠️