예제 #1
0
 /// <summary>
 /// Creates an effect which applies a Modifier to a sprite's GameValue
 /// </summary>
 /// <param name="gameValueKey">Key of the GameValue to modify</param>
 /// <param name="modifier">Modifier to apply</param>
 public Effect(string gameValueKey, Modifier modifier)
 {
     this.gameValueKey = gameValueKey;
     this.modifier = modifier;
 }
예제 #2
0
 /// <summary>
 /// Creates an Effect which applies a Modifier to a GameValue
 /// </summary>
 /// <param name="gameValue">The GameValue to modify</param>
 /// <param name="Modifier">The Modifier to apply</param>
 public Effect(GameValue gameValue, Modifier modifier)
 {
     this.gameValue = gameValue;
     this.modifier = modifier;
 }