Exemple #1
0
 public PetDefinition(BundleDefinition Bundle, string Name, float YOffset = -0.1f)
     : this(Bundle.Object(Name),
            Bundle.Animation($"{Name}Idle"),
            Bundle.Animation($"{Name}Sad"),
            Bundle.Animation($"{Name}Scared"),
            Bundle.Animation($"{Name}Walk"),
            Name, YOffset)
 {
 }
Exemple #2
0
 public HealthBar(BundleDefinition Bundle, string TeamName)
     : this(Bundle.Object($"{TeamName}Bar"))
 {
 }
Exemple #3
0
 public EmojiDefinition(BundleDefinition Bundle, string AssetName, params KeyCode[] Keys)
     : this(Bundle.Object(AssetName), Keys)
 {
 }