Survivalcraft API 1.8.2.3
v1.8.2.3
Survivalcraft 2.4
载入中...
搜索中...
未找到
ProjectileAttackment.cs
浏览该文件的文档.
1
using
Engine
;
2
using
GameEntitySystem
;
3
4
namespace
Game
{
5
public
class
ProjectileAttackment
:
Attackment
{
6
public
Projectile
Projectile
;
7
8
public
ProjectileAttackment
(
Entity
target,
Entity
attacker,
Vector3
hitPoint,
Vector3
hitDirection,
float
attackPower,
Projectile
projectile)
9
: base(target, attacker, hitPoint, hitDirection, attackPower) {
10
Projectile
= projectile;
11
ImpulseFactor
= 2f;
12
StunTimeSet
= 0.2f;
13
AllowImpulseAndStunWhenDamageIsZero
=
false
;
14
}
15
16
public
ProjectileAttackment
(
ComponentBody
target,
17
Entity
attacker,
18
Vector3
hitPoint,
19
Vector3
hitDirection,
20
float
attackPower,
21
Projectile
projectile) : this(target.
Entity
, attacker, hitPoint, hitDirection, attackPower, projectile) { }
22
}
23
}
Game.Attackment.AllowImpulseAndStunWhenDamageIsZero
bool AllowImpulseAndStunWhenDamageIsZero
定义
Attackment.cs:73
Game.Attackment.ImpulseFactor
float ImpulseFactor
定义
Attackment.cs:57
Game.Attackment.StunTimeSet
float? StunTimeSet
定义
Attackment.cs:55
Game.Attackment.Attackment
Attackment(Entity target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower)
定义
Attackment.cs:17
Game.ComponentBody
定义
ComponentBody.cs:7
Game.ProjectileAttackment.ProjectileAttackment
ProjectileAttackment(ComponentBody target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower, Projectile projectile)
定义
ProjectileAttackment.cs:16
Game.ProjectileAttackment.ProjectileAttackment
ProjectileAttackment(Entity target, Entity attacker, Vector3 hitPoint, Vector3 hitDirection, float attackPower, Projectile projectile)
定义
ProjectileAttackment.cs:8
Game.ProjectileAttackment.Projectile
Projectile Projectile
定义
ProjectileAttackment.cs:6
GameEntitySystem.Entity
定义
Entity.cs:10
Engine
定义
BaseSound.cs:10
GameEntitySystem
定义
Component.cs:6
Game
定义
ContentFileBridge.cs:4
Engine.Vector3
定义
Vector3.cs:2
SurvivalcraftApi 1.8.2.3
Survivalcraft.Windows
Game
ProjectileAttackment.cs
制作者
1.16.1