camerafollow(npc_unit_id1,npc_unit_id2,...)[touser(userid)];
Inheritance: StorySystem.AbstractStoryCommand
        public override IStoryCommand Clone()
        {
            CameraFollowCommand cmd = new CameraFollowCommand();

            for (int i = 0; i < m_UnitIds.Count; i++)
            {
                cmd.m_UnitIds.Add(m_UnitIds[i].Clone());
            }
            return(cmd);
        }
Exemplo n.º 2
0
        protected override IStoryCommand CloneCommand()
        {
            CameraFollowCommand cmd = new CameraFollowCommand();

            cmd.m_HaveUserId = m_HaveUserId;
            cmd.m_UserId     = m_UserId.Clone();
            for (int i = 0; i < m_UnitIds.Count; i++)
            {
                cmd.m_UnitIds.Add(m_UnitIds[i].Clone());
            }
            return(cmd);
        }
 public override IStoryCommand Clone()
 {
     CameraFollowCommand cmd = new CameraFollowCommand();
     cmd.m_HaveUserId = m_HaveUserId;
     cmd.m_UserId = m_UserId.Clone();
     for (int i = 0; i < m_UnitIds.Count; i++) {
         cmd.m_UnitIds.Add(m_UnitIds[i].Clone());
     }
     return cmd;
 }