about summary refs log tree commit diff stats
path: root/AnodyneArchipelago/ArchipelagoTreasure.cs
blob: 6d000e8e15013d26e44e35f6ebd4acc97db9b39b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
using AnodyneSharp.Entities.Gadget.Treasures;
using Microsoft.Xna.Framework;

namespace AnodyneArchipelago
{
    internal class ArchipelagoTreasure : Treasure
    {
        private string _location;

        public ArchipelagoTreasure(string location, Vector2 pos) : base("item_jump_shoes", pos, 0, -1)
        {
            _location = location;
        }

        public override void GetTreasure()
        {
            base.GetTreasure();
            ArchipelagoManager.SendLocation(_location);
        }
    }
}