Skip to content

Commit bbbcb07

Browse files
committed
change bridge
1 parent cdf0694 commit bbbcb07

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

TaleKit/Game/Entities/Character.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ public interface IActionBridge
1010
{
1111
Session Session { get; set; }
1212

13-
void Walk(Position position, int speed);
14-
void WalkNosmate(Position position, int speed);
13+
void Walk(Character character, Position position);
14+
void WalkNosmate(SummonedNosmate nosmate, Position position);
1515
void Attack(LivingEntity entity);
1616
void Attack(LivingEntity entity, Skill skill);
1717
void PickUp(Drop drop);
@@ -137,7 +137,7 @@ private async Task Walk(Position destination, CancellationToken cancellationToke
137137
break;
138138
}
139139

140-
bridge.Walk(target, Speed);
140+
bridge.Walk(this, target);
141141

142142
try
143143
{

TaleKit/Game/Entities/Nosmate.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ private async Task Walk(Position destination, CancellationToken cancellationToke
144144
break;
145145
}
146146

147-
Owner.GetBridge().WalkNosmate(target, Entity.Speed);
147+
Owner.GetBridge().WalkNosmate(this, target);
148148

149149
try
150150
{

0 commit comments

Comments
 (0)