Example #1
0
    public void AssociateGOToRobot(GameObject GO, Cellulo robot)
    {
        print("Associating GO " + GO.name + " to robot ID" + robot.getID());
        CelluloIndexEntry myEntry = GetEntry(robot);

        myEntry.AssociatedGO = GO;
    }
Example #2
0
    public CelluloIndexEntry GetEntry(Cellulo robot)
    {
        CelluloIndexEntry EntryToReturn = CelluloInPool.Find(x => x.Id.Equals(robot.getID()));

        return(EntryToReturn);
    }
Example #3
0
 public CelluloIndexEntry()
 {
     Robot = new Cellulo();
     Id    = Robot.getID();
 }