Esempio n. 1
0
		public void LearnMacro (MacroTransition t)
		{
			if (t == null)
				throw new ArgumentNullException ();

			var store = t.StartFacingRight ? _MacroDeltaR : _MacroDeltaL;
			store.Add (t.Source, t.Read, t);
		}
Esempio n. 2
0
        public void LearnMacro(MacroTransition t)
        {
            if (t == null)
            {
                throw new ArgumentNullException();
            }

            var store = t.StartFacingRight ? _MacroDeltaR : _MacroDeltaL;

            store.Add(t.Source, t.Read, t);
        }