package mahjong.aux.set;

import mahjong.aux.Card;
import mahjong.player.GenericPlayer;

/**
 * Created by joe on 12/2/14.
 */
public class Aside {
    public enum Type {Chi,Peng,aGang,mGang,jGang};

    private Type type;
    private Card[] rep;
    private int from;

    public Aside(Card[] rep,Type type,int from)
    {
        this.rep=rep;
        this.type=type;
        this.from=from;
    }

    public Aside(Card[] rep,Type type)
    {
        this.rep=rep;
        this.type=type;
        this.from= 0;
    }

    public Card[] getRep() {
        return rep;
    }

    public int getFrom() {
        return from;
    }

    public Type getType() {
        return type;
    }

    public void setFrom(int from) {
        this.from = from;
    }
}