示例#1
0
文件: Worm.cs 项目: nemec/4Realms
 public Worm(string name, Vector2 initialPos)
     : base(name, new Actor(Animations), 1, 2000)
 {
     SpawnPoint = initialPos;
     movementStartTime = new TimeSpan(0, 0, 1);
     ElementType = Element.Earth;
     Personality = new UndergroundAttackPersonality(this);
     SetAnimation(15);
     IsSubmerged = true;
     Speed = .65f;
 }
示例#2
0
文件: Worm.cs 项目: nemec/4Realms
 public Worm(string name, Vector2 initialPos)
     : base(name, new Actor(Animations), 1, 2000)
 {
     SpawnPoint        = initialPos;
     movementStartTime = new TimeSpan(0, 0, 1);
     ElementType       = Element.Earth;
     Personality       = new UndergroundAttackPersonality(this);
     SetAnimation(15);
     IsSubmerged = true;
     Speed       = .65f;
 }