Implemented Collections.shuffle().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@118 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -23,6 +23,7 @@ package com.threerings.parlor.card.data {
|
||||
|
||||
import mx.collections.ArrayCollection;
|
||||
|
||||
import com.threerings.util.Collections;
|
||||
import com.threerings.util.StreamableArrayList;
|
||||
|
||||
/**
|
||||
@@ -102,7 +103,7 @@ public class Deck extends StreamableArrayList
|
||||
*/
|
||||
public function shuffle () :void
|
||||
{
|
||||
// TODO: Collections.shuffle(this);
|
||||
Collections.shuffle(this);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user