コード例 #1
0
 public HealthChangeRenderer(GameEventRenderer host, GameActor a, float before, float after)
 {
     this.host   = host;
     actorId     = a.id;
     baseHealth  = a.baseHealth;
     this.before = before;
     this.after  = after;
 }
コード例 #2
0
 public DeathRenderer(GameEventRenderer host, GameActor a)
 {
     this.host = host; actorId = a.id;
 }
コード例 #3
0
 public AttackRenderer(GameEventRenderer host, GameActor attacker, GameActor target)
 {
     this.host = host;
     actorId   = attacker.id;
     targetId  = target.id;
 }
コード例 #4
0
 public TargetedChangeRenderer(GameEventRenderer host, GameActor a)
 {
     this.host = host;
     actorId   = a.id;
     targeted  = a.Targeted;
 }
コード例 #5
0
 public ActorActionsEndRenderer(GameEventRenderer host, GameActor a)
 {
     this.host = host; this.actorId = a.id;
 }
コード例 #6
0
 public ActorPositionRenderer(GameEventRenderer host, GameActor a)
 {
     this.host = host;
     actor     = new GameActorState(a);
 }