Hello Daniel,
Did u read that
http://msdn2.microsoft.com/en-us/library/ttw7t8t6.aspx ?
D> Hey guys in this code:
D>
D> public bool DealPlayerOut(int tableId, int playerId)
D>
D> {
D>
D> Room theRoom = FindRoom(tableId);
D>
D> foreach(Seat s in theRoom.RoomTable.Seats)
D>
D> {
D>
D> if(!s.Available)
D>
D> {
D>
D> if(!(s.Player == null))
D>
D> {
D>
D> if(s.player.Id.Equals(playerId)
D>
D> {
D>
D> s.Player.PlayerState = PokerPlayer.PokerPlayerStates.DealOut;
D>
D> return true;
D>
D> }
D>
D> }
D>
D> }
D>
D> }
D>
D> return false;
D>
D> }
D>
D> Will the playerstate now be set to dealout in the table object
D> originally referenced? Can you use foreach statements to set
D> variables of the objects or is it purely for a read only usage?
D>
---
WBR,
Michael Nemtsev :: blog:
http://spaces.msn.com/laflour
"At times one remains faithful to a cause only because its opponents do not
cease to be insipid." (c) Friedrich Nietzsche