Exemplo n.º 1
0
        void Awake()
        {
            Board = GetComponent <Match3Board>();
            var seed = Board.RandomSeed == -1 ? gameObject.GetInstanceID() : Board.RandomSeed + 1;

            m_Random = new System.Random(seed);
        }
Exemplo n.º 2
0
 public Match3ExampleActuator(Match3Board board,
                              bool forceHeuristic,
                              string name,
                              int seed
                              )
     : base(board, forceHeuristic, seed, name)
 {
     m_Board = board;
 }
Exemplo n.º 3
0
 public Match3ExampleActuator(Match3Board board,
                              bool forceHeuristic,
                              Agent agent,
                              string name,
                              int seed
                              )
     : base(board, forceHeuristic, seed, agent, name)
 {
 }
Exemplo n.º 4
0
 void Awake()
 {
     Board            = GetComponent <Match3Board>();
     m_ModelOverrider = GetComponent <ModelOverrider>();
 }
Exemplo n.º 5
0
 void Awake()
 {
     Board = GetComponent <Match3Board>();
 }