Esempio n. 1
0
 public void Update(GameTime gameTime)
 {
     if ((this.Postion - AIBase.Player.Locate).Length() <= 40
         && AIBase.Player.Status == AIBase.Status.Attck)
     {
         this.CurrentStatus = GlassStatus.Bad;
     }
 }
Esempio n. 2
0
 public void BeBroke()
 {
     this.CurrentStatus = GlassStatus.Bad;
 }
Esempio n. 3
0
 public void BeGood()
 {
     this.CurrentStatus = GlassStatus.Good;
 }
Esempio n. 4
0
 public RightGlass(Vector2 postion)
 {
     this.Postion = postion;
     this.Target = new List<Texture2D>();
     this.CurrentStatus = GlassStatus.Good;
 }