コード例 #1
0
ファイル: Factory.cs プロジェクト: XanoSage/Match2Test
 public static Bonus CreateBonus(BonusType type)
 {
     return(Bonus.Create(type));
 }
コード例 #2
0
 public static Cell CreateBonus(Bonus bonus, int indexRow, int indexColumn)
 {
     return(Cell.Create(bonus, indexRow, indexColumn));
 }
コード例 #3
0
 public void Clear()
 {
     _block = null;
     _bonus = null;
 }
コード例 #4
0
 public static Cell Create(Bonus bonus, int indexRow, int indexColumn)
 {
     return(new Cell(bonus, indexRow, indexColumn));
 }
コード例 #5
0
 private Cell(Bonus bonus, int indexRow, int indexColumn)
 {
     State    = CellState.Normal;
     _bonus   = bonus;
     Position = new ArrayPoint(indexRow, indexColumn);
 }