Exemple #1
0
        public Halo(Texture2D texture, Vector2 position, Vector2 mapPosition)
            : base(texture, position)
        {
            myMapPosition = mapPosition;
            myTexture = texture;
            myPosition = position;
            myState = new ProtectState(this);

            name = "Halo";
        }
Exemple #2
0
 public void Protect()
 {
     myState = new ProtectState(this);
 }