Added some ActionScript annotations.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@92 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2006-10-05 00:16:25 +00:00
parent 910bb8be5b
commit 8b8a8120c2
2 changed files with 6 additions and 0 deletions
@@ -21,6 +21,7 @@
package com.threerings.parlor.card.data;
import com.threerings.util.ActionScript;
import com.threerings.util.StreamableArrayList;
/**
@@ -31,6 +32,7 @@ public class Hand extends StreamableArrayList<Card>
/**
* Adds all of the specified cards to this hand.
*/
@ActionScript(name="addAllCards")
public void addAll (Card[] cards)
{
for (int i = 0; i < cards.length; i++) {
@@ -41,6 +43,7 @@ public class Hand extends StreamableArrayList<Card>
/**
* Removes all of the specified cards from this hand.
*/
@ActionScript(name="removeAllCards")
public void removeAll (Card[] cards)
{
for (int i = 0; i < cards.length; i++) {
@@ -51,6 +54,7 @@ public class Hand extends StreamableArrayList<Card>
/**
* Checks whether this hand contains all of the specified cards.
*/
@ActionScript(name="containsAllCards")
public boolean containsAll (Card[] cards)
{
for (int i = 0; i < cards.length; i++) {
@@ -25,6 +25,7 @@ import com.samskivert.util.ArrayIntSet;
import com.samskivert.util.ListUtil;
import com.samskivert.util.StringUtil;
import com.threerings.util.ActionScript;
import com.threerings.util.Name;
import com.threerings.presents.dobj.DSet;
@@ -380,6 +381,7 @@ public class Table
/**
* Helper method for toString, ripe for overrideability.
*/
@ActionScript(name="toStringBuilder")
protected void toString (StringBuilder buf)
{
buf.append("tableId=").append(tableId);