public Samurai(Shogun boss, string name, int health, float cash) : base(name, health) { this.CashFlow = cash; // register Gettin paid to event boss.onPaymentDelivered += GettinPaid; this.onMelee += WasAttacked; }
void Awake() { Tokugawa = new Shogun("Tokugawa", 100, Clan.Tokugawa); Musashi = new Samurai(Tokugawa, "Musashi", 100, 0); Devon = new Samurai(Tokugawa, "Devon", 100, 5); }