Example #1
0
 public UpdateState(float elapsedTime, int GlobalID, int RegisterID, UpdateRegister register)
 {
     this.GlobalUpdateID   = GlobalID;
     this.RegisterUpdateID = RegisterID;
     this.elapsedTime      = elapsedTime;
     this.register         = register;
 }
Example #2
0
 public UpdateState(float elapsedTime, int GlobalID, int RegisterID, UpdateRegister register)
 {
     this.GlobalUpdateID = GlobalID;
     this.RegisterUpdateID = RegisterID;
     this.elapsedTime = elapsedTime;
     this.register = register;
 }
Example #3
0
        public static void addUpdateRegister(UpdateRegister register)
        {
            if (checkIfRegisterExists(register.tag))
                throw new Exception("There already exists a register with the tag \"" + register.tag + "\" in the UpdateManager.");

            updatedList.Add(register);
        }
Example #4
0
        public static void addUpdateRegister(UpdateRegister register)
        {
            if (checkIfRegisterExists(register.tag))
            {
                throw new Exception("There already exists a register with the tag \"" + register.tag + "\" in the UpdateManager.");
            }

            updatedList.Add(register);
        }