public virtual BlockTeam Clone() { BlockTeam bt = Activator.CreateInstance(this.GetType()) as BlockTeam; bt.SetPos(this.GetPos().x, this.GetPos().y); bt.SetRotIndex(m_iIndexPos); return(bt); }
public void CopyTo(BlockTeam bt) { bt.SetPos(GetPos().x, GetPos().y); bt.SetRotIndex(m_iIndexPos); }