blob: 5ce29d8d94f6211dcdd74f325876853be34d1616 (
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
35
36
37
38
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
namespace StardewModdingAPI.Inheritance.Minigames
{
abstract class SMinigameBase : StardewValley.Minigames.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);
}
}
|