Minor notes for chairs.

This commit is contained in:
Joshua Navarro 2019-01-05 23:29:17 -08:00
parent 2448f7ca01
commit 1df03e0dd7
2 changed files with 13 additions and 3 deletions

View File

@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@ -6,7 +6,10 @@ using System.Threading.Tasks;
namespace Revitalize.Framework.Objects.Furniture
{
class Chair
/// <summary>
/// Todo: Make this and the big object that encapsulates it.
/// </summary>
class Chair:FurnitureTileComponent
{
}
}

View File

@ -68,11 +68,13 @@ namespace Revitalize.Framework.Player.Managers
}
/// <summary>
/// Display the farmer actually sitting.
/// </summary>
public void showSitting()
{
if (this.sittingObject == null)
{
Revitalize.ModCore.log("Does THIS HAPPEN AT ALL???");
switch (Game1.player.FacingDirection)
{
case 0:
@ -115,6 +117,11 @@ namespace Revitalize.Framework.Player.Managers
}
}
/// <summary>
/// Make the player sit.
/// </summary>
/// <param name="obj"></param>
/// <param name="offset"></param>
public void sit(StardewValley.Object obj, Vector2 offset)
{
this.isSitting = true;