35 lines
970 B
C#
35 lines
970 B
C#
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);
|
|
}
|
|
}
|