summaryrefslogtreecommitdiff
path: root/StardewModdingAPI/Inheritance/Minigames/SMinigameBase.cs
blob: 08a5e86110fbc72639f6219b2e98aa9c258142d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using StardewValley.Minigames;

namespace StardewModdingAPI.Inheritance.Minigames
{
    abstract class SMinigameBase : IMinigame
    {
        public abstract bool tick(GameTime time);

        public abstract void receiveLeftClick(int x, int y, bool playSound = true);

        public abstract void leftClickHeld(int x, int y);

        public abstract void receiveRightClick(int x, int y, bool playSound = true);

        public abstract void releaseLeftClick(int x, int y);

        public abstract void releaseRightClick(int x, int y);

        public abstract void receiveKeyPress(Keys k);

        public abstract void receiveKeyRelease(Keys k);

        public abstract void draw(SpriteBatch b);

        public abstract void changeScreenSize();

        public abstract void unload();

        public abstract void receiveEventPoke(int data);
    }
}