Add guards and implement basic cards

This commit is contained in:
henriquenakashima 2020-09-26 17:20:47 -04:00
parent 30beb96397
commit 08c395cf51
32 changed files with 803 additions and 24 deletions

View file

@ -0,0 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class MassBlockEffect : IBattleEffect
{
private TeamChoice team;
private int amount;
public MassBlockEffect(TeamChoice team, int amount) {
this.team = team;
this.amount = amount;
}
public void Apply(IBattleEffectResolver resolver) {
resolver.AddMassBlock(this);
}
public TeamChoice Team {get => this.team;}
public int Amount {get => this.amount;}
}

View file

@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: a0c3290b12974bc4682c5abbcd529884
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant: