Great timeline system (Age of AI WON)
This commit is contained in:
1 parent
2ce0391c16
commit
e312131725
182 files changed
+380070
-470221
No files matched your search
@@ -9,10 +9,11 @@ namespace Code.OfficeGame.BattleMode
|
||||
{
|
||||
public int Damage;
|
||||
public HitBoxPartType HitBoxPartType;
|
||||
|
||||
public Vector3 HitWorldPosition;
|
||||
|
||||
public EntityId AttackerId;
|
||||
public EntityId DefenderId;
|
||||
|
||||
|
||||
public EntityProperties Attacker;
|
||||
public EntityProperties Defender;
|
||||
|
||||
@@ -21,7 +22,9 @@ namespace Code.OfficeGame.BattleMode
|
||||
|
||||
public bool Equals(EntityAttackedData other)
|
||||
{
|
||||
return AttackerId == other.AttackerId && DefenderId == other.DefenderId && HitBoxPartType == other.HitBoxPartType;
|
||||
return AttackerId == other.AttackerId
|
||||
&& DefenderId == other.DefenderId
|
||||
&& HitBoxPartType == other.HitBoxPartType;
|
||||
}
|
||||
|
||||
public override int GetHashCode()
|
||||
|
||||
Reference in new issue
Block a user