Rename CardFoo to FooHCard

This commit is contained in:
henriquenakashima 2020-09-24 00:38:19 -04:00
parent 621069fd71
commit b5c900aa24
12 changed files with 15 additions and 16 deletions

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public class CardCover : HeroCard public class CoverHCard : HeroCard
{ {
public CardCover(BattleParticipant owner) public CoverHCard(BattleParticipant owner)
: base(owner, HCardId.Cover, "Cover", 1, CardType.Skill, : base(owner, HCardId.Cover, "Cover", 1, CardType.Skill,
"Block 3 damage on another target ally.") { "Block 3 damage on another target ally.") {

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public class CardCrashingPunch : HeroCard public class CrashingPunchHCard : HeroCard
{ {
public CardCrashingPunch(BattleParticipant owner) public CrashingPunchHCard(BattleParticipant owner)
: base(owner, HCardId.CrashingPunch, "Crashing Punch", 3, CardType.Attack, : base(owner, HCardId.CrashingPunch, "Crashing Punch", 3, CardType.Attack,
"Deals 3 damage to target.") { "Deals 3 damage to target.") {
} }

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public class CardLightningStrike : HeroCard public class LightningStrikeHCard : HeroCard
{ {
public CardLightningStrike(BattleParticipant owner) public LightningStrikeHCard(BattleParticipant owner)
: base(owner, HCardId.LightningStrike, "Lightning Strike", 2, CardType.Attack, : base(owner, HCardId.LightningStrike, "Lightning Strike", 2, CardType.Attack,
"Deals 3 damage to target.") { "Deals 3 damage to target.") {
} }

View file

@ -2,9 +2,9 @@ using System.Collections;
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public class CardScarring : HeroCard public class ScarringHCard : HeroCard
{ {
public CardScarring(BattleParticipant owner) public ScarringHCard(BattleParticipant owner)
: base(owner, HCardId.Scarring, "Scarring", 2, CardType.Skill, : base(owner, HCardId.Scarring, "Scarring", 2, CardType.Skill,
"Block 4 damage. The next time damage is taken until next turn, gain 1 Max HP.") { "Block 4 damage. The next time damage is taken until next turn, gain 1 Max HP.") {
} }

View file

@ -2,9 +2,9 @@
using System.Collections.Generic; using System.Collections.Generic;
using UnityEngine; using UnityEngine;
public class CardThunderstorm : HeroCard public class ThunderstormHCard : HeroCard
{ {
public CardThunderstorm(BattleParticipant owner) public ThunderstormHCard(BattleParticipant owner)
: base(owner, HCardId.Thunderstorm, "Thunderstorm", 3, CardType.Enchantment, : base(owner, HCardId.Thunderstorm, "Thunderstorm", 3, CardType.Enchantment,
"Add 1 max energy. Acquire 2 Lightning Strike into draw pile.") { "Add 1 max energy. Acquire 2 Lightning Strike into draw pile.") {
} }

View file

@ -37,15 +37,15 @@ public class HeroCardDatabase : CardDatabase<HeroCard>
switch (heroCardId) switch (heroCardId)
{ {
case HCardId.CrashingPunch: case HCardId.CrashingPunch:
return new CardCrashingPunch(owner); return new CrashingPunchHCard(owner);
case HCardId.Cover: case HCardId.Cover:
return new CardCover(owner); return new CoverHCard(owner);
case HCardId.LightningStrike: case HCardId.LightningStrike:
return new CardLightningStrike(owner); return new LightningStrikeHCard(owner);
case HCardId.Scarring: case HCardId.Scarring:
return new CardScarring(owner); return new ScarringHCard(owner);
case HCardId.Thunderstorm: case HCardId.Thunderstorm:
return new CardThunderstorm(owner); return new ThunderstormHCard(owner);
case HCardId.Meditate: case HCardId.Meditate:
return new MeditateHCard(owner); return new MeditateHCard(owner);
default: default:

View file

@ -2,4 +2,3 @@
- Make hero cards be used in sequence Coroutines, not in parallel - Make hero cards be used in sequence Coroutines, not in parallel
- Do not Highlight unusable cards - Do not Highlight unusable cards
- Dim unusable cards - Dim unusable cards
- Rename HCard classes