Logo Search packages:      
Sourcecode: vdr-plugin-spider version File versions

void Pile::turn (  ) 

Turn all open top cards or rather open the top card

Definition at line 178 of file heap.c.

References Heap::empty().

Referenced by FinalMove::execute(), NormalMove::execute(), FinalMove::takeBack(), and NormalMove::takeBack().

{
  if (currentOpen < 1 && !empty())
    currentOpen = 1;
  else
    currentOpen = 0;
  currentMatching = 0;
  if (currentChanged < 1 && !empty())
    currentChanged = 1;
}


Generated by  Doxygen 1.6.0   Back to index