Esempio n. 1
0
 // Done!
 public void AddMove(IHardwareAgent agent, HardwareActionStatus actionStatus, Vector heading, float speed)
 {
     this.Add(new HardwareHistoryItem(HardwareHistoryType.Rotate, actionStatus, Helpers.Clone(agent.Status), 0, speed, heading));
 }
Esempio n. 2
0
        // Done!
        #region .Ctor

        // Done!
        public Agent(IHardwareAgent agent)
        {
            Contract.Requires(agent != null);
            this.agent = agent;
        }
Esempio n. 3
0
        // Done!
        #region Methods

        // Done!
        public void AddRotation(IHardwareAgent agent, HardwareActionStatus actionStatus, float angle, float speed)
        {
            this.Add(new HardwareHistoryItem(HardwareHistoryType.Rotate, actionStatus, Helpers.Clone(agent.Status), angle, speed, null));
        }