diff --git a/Changelog.md b/Changelog.md
index be63cc7..1c3e692 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -1,3 +1,28 @@
+# 0.19.1
+![](media/changelog/0.19.1.png)
+
+> Better Hints, Better Food, Better Names
+
+This is a small (devlog-less) update that fixes some issues and adds some small features. Enjoy!
+
+Additions
+- Added the ability to create and sell apps with a high Programming skill
+- Added an emergency food system where rations are delivered to a household whose funds are very low
+
+Improvements
+- Improved in-game hints by turning them into a popup and adding icons
+- Restore Entertainment need for skills based on how high the skill level is
+- Display the names of food plates and woodworking objects in the action and hover descriptions
+- Made the lot movement tool less scary when first opened
+- Always auto-save, even when lot or character creator conditions are unmet
+
+Fixes
+- Fixed a rare crash when changelog images fail to download
+- Fixed being able to pick up food plates that other Tinies are currently eating
+- Fixed ambient sounds not fading properly between day and night
+- Fixed the sell action not being saved and loaded properly
+- Fixed the ability to create new outfits even when funds are too low to do so
+
# 0.19.0
![](media/changelog/0.19.0.png)
diff --git a/docs/api/.manifest b/docs/api/.manifest
index df28a99..e65c8dd 100644
--- a/docs/api/.manifest
+++ b/docs/api/.manifest
@@ -29,7 +29,6 @@
"TinyLife.Actions.ActionInfo.GetInvolvedObject``1(TinyLife.Objects.ObjectCategory,System.Boolean,System.Func{``0,System.Boolean})": "TinyLife.Actions.ActionInfo.yml",
"TinyLife.Actions.ActionInfo.GetInvolvedObjects``1(TinyLife.Objects.ObjectCategory,System.Boolean)": "TinyLife.Actions.ActionInfo.yml",
"TinyLife.Actions.ActionInfo.Map": "TinyLife.Actions.ActionInfo.yml",
- "TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})": "TinyLife.Actions.ActionInfo.yml",
"TinyLife.Actions.ActionInfo.Person": "TinyLife.Actions.ActionInfo.yml",
"TinyLife.Actions.ActionInfo.ToFreeActionSpot(TinyLife.Objects.ObjectCategory)": "TinyLife.Actions.ActionInfo.yml",
"TinyLife.Actions.ActionInfo.Validate(TinyLife.Objects.Person)": "TinyLife.Actions.ActionInfo.yml",
@@ -47,6 +46,7 @@
"TinyLife.Actions.ActionType.AskAboutGamingRig": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.AskAboutPersonality": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.AskToLeave": "TinyLife.Actions.ActionType.yml",
+ "TinyLife.Actions.ActionType.AskToTaste": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.BeAwayFromLotEmployment": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.BoastAboutPagesWritten": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.BreakUp": "TinyLife.Actions.ActionType.yml",
@@ -79,6 +79,9 @@
"TinyLife.Actions.ActionType.CanExecuteResult.Valid": "TinyLife.Actions.ActionType.CanExecuteResult.yml",
"TinyLife.Actions.ActionType.CanExecuteResult.WaitingRequired": "TinyLife.Actions.ActionType.CanExecuteResult.yml",
"TinyLife.Actions.ActionType.CanExecuteResult.WrongRelationshipType": "TinyLife.Actions.ActionType.CanExecuteResult.yml",
+ "TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)": "TinyLife.Actions.ActionType.yml",
+ "TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean},System.Boolean)": "TinyLife.Actions.ActionType.yml",
+ "TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.CanPlaceHeldItem(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.CanWorkAtDeskObject(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.ChangeOutfit": "TinyLife.Actions.ActionType.yml",
@@ -95,6 +98,7 @@
"TinyLife.Actions.ActionType.ConfideIn": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.Construct(TinyLife.Actions.ActionInfo,System.Nullable{TinyLife.Actions.ActionVariety})": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.CookFood": "TinyLife.Actions.ActionType.yml",
+ "TinyLife.Actions.ActionType.CreateApp": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DeliverMail": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.Die": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.DiscussWorkoutRegimen": "TinyLife.Actions.ActionType.yml",
@@ -107,6 +111,7 @@
"TinyLife.Actions.ActionType.GaugeRelationship": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.GetDisplayName(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.GetFoodSomewhereElse": "TinyLife.Actions.ActionType.yml",
+ "TinyLife.Actions.ActionType.GetFurnitureMail": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.GetIconName": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.GetIngredientsFamily": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.GetIngredientsSingle": "TinyLife.Actions.ActionType.yml",
@@ -131,8 +136,6 @@
"TinyLife.Actions.ActionType.IsDislikedOrMean(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.IsEmptyHanded(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.IsFunctional(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml",
- "TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)": "TinyLife.Actions.ActionType.yml",
- "TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.IsNotEmbarrassed(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.IsNotExpired(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.IsNotUncomfortable(TinyLife.Actions.ActionInfo,System.Boolean)": "TinyLife.Actions.ActionType.yml",
@@ -172,6 +175,7 @@
"TinyLife.Actions.ActionType.PracticeWriting": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.PrepareFood": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.PsychSelfUp": "TinyLife.Actions.ActionType.yml",
+ "TinyLife.Actions.ActionType.PublishApp": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.PutAway": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.PutDown": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.QuitJob": "TinyLife.Actions.ActionType.yml",
@@ -179,6 +183,7 @@
"TinyLife.Actions.ActionType.Register(TinyLife.Actions.ActionType.TypeSettings)": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.RegisterAll(System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionType.TypeSettings})": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.Repair": "TinyLife.Actions.ActionType.yml",
+ "TinyLife.Actions.ActionType.ResearchProgrammingPatterns": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.RunOnTreadmill": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.Scrap": "TinyLife.Actions.ActionType.yml",
"TinyLife.Actions.ActionType.SelfPublishBook": "TinyLife.Actions.ActionType.yml",
@@ -253,6 +258,7 @@
"TinyLife.Actions.ActionVariety.CustomLayout": "TinyLife.Actions.ActionVariety.yml",
"TinyLife.Actions.ActionVariety.Description": "TinyLife.Actions.ActionVariety.yml",
"TinyLife.Actions.ActionVariety.DisplayName": "TinyLife.Actions.ActionVariety.yml",
+ "TinyLife.Actions.ActionVariety.FreePeople(TinyLife.Actions.ActionInfo)": "TinyLife.Actions.ActionVariety.yml",
"TinyLife.Actions.ActionVariety.GetData``1(System.String)": "TinyLife.Actions.ActionVariety.yml",
"TinyLife.Actions.ActionVariety.GetDataKeys": "TinyLife.Actions.ActionVariety.yml",
"TinyLife.Actions.ActionVariety.GetDisplayName": "TinyLife.Actions.ActionVariety.yml",
@@ -500,6 +506,7 @@
"TinyLife.Actions.TalkAction.TalkSettings.SpeakStyle": "TinyLife.Actions.TalkAction.TalkSettings.yml",
"TinyLife.Actions.TalkAction.TalkSettings.SuccessEmotion": "TinyLife.Actions.TalkAction.TalkSettings.yml",
"TinyLife.Actions.TalkAction.TalkSettings.TalkMinutes": "TinyLife.Actions.TalkAction.TalkSettings.yml",
+ "TinyLife.Actions.TalkAction.TalkSettings.Update(TinyLife.Actions.SocialAction,Microsoft.Xna.Framework.GameTime,System.Single)": "TinyLife.Actions.TalkAction.TalkSettings.yml",
"TinyLife.Actions.TalkAction.UpdateConversation(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)": "TinyLife.Actions.TalkAction.yml",
"TinyLife.Actions.Typeless": "TinyLife.Actions.Typeless.yml",
"TinyLife.Actions.Typeless.PathfindToPersonAction": "TinyLife.Actions.Typeless.PathfindToPersonAction.yml",
@@ -532,7 +539,7 @@
"TinyLife.Actions.Typeless.TypelessAction.ElapsedTime": "TinyLife.Actions.Typeless.TypelessAction.yml",
"TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml",
"TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml",
- "TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml",
+ "TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml",
"TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml",
"TinyLife.Actions.Typeless.TypelessAction.FindFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Boolean,System.Boolean)": "TinyLife.Actions.Typeless.TypelessAction.yml",
"TinyLife.Actions.Typeless.TypelessAction.ForceFail": "TinyLife.Actions.Typeless.TypelessAction.yml",
@@ -605,6 +612,7 @@
"TinyLife.Emotions.EmotionModifier.AsexualFoolingDeclined": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.AsexualFoolingPartner": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.Asleep": "TinyLife.Emotions.EmotionModifier.yml",
+ "TinyLife.Emotions.EmotionModifier.BadChildFood": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.BadCreation": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.BadCreationAngry": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.BadFood": "TinyLife.Emotions.EmotionModifier.yml",
@@ -614,6 +622,7 @@
"TinyLife.Emotions.EmotionModifier.BoringWork": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.BrokenUpWith": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.CaughtBeingInappropriate": "TinyLife.Emotions.EmotionModifier.yml",
+ "TinyLife.Emotions.EmotionModifier.ChildChef": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.Condition": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.CreativelyInspired": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.DarkRoom": "TinyLife.Emotions.EmotionModifier.yml",
@@ -622,6 +631,7 @@
"TinyLife.Emotions.EmotionModifier.DirtyDishes": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.DirtyHandsAfterToilet": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.DirtyObject": "TinyLife.Emotions.EmotionModifier.yml",
+ "TinyLife.Emotions.EmotionModifier.EmergencyFood": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.Emotion": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.EnergizingDumbbells": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.EnergizingJog": "TinyLife.Emotions.EmotionModifier.yml",
@@ -630,6 +640,7 @@
"TinyLife.Emotions.EmotionModifier.FailedJoke": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.FailedPublishing": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.FailedRomance": "TinyLife.Emotions.EmotionModifier.yml",
+ "TinyLife.Emotions.EmotionModifier.FinishedApp": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.FinishedBook": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.FinishedMod": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.Fired": "TinyLife.Emotions.EmotionModifier.yml",
@@ -643,6 +654,7 @@
"TinyLife.Emotions.EmotionModifier.FunPlaying": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.FunSchoolDay": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.GetCausedEmotion(TinyLife.Objects.Person)": "TinyLife.Emotions.EmotionModifier.yml",
+ "TinyLife.Emotions.EmotionModifier.GoodChildFood": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.GoodFood": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.GoodWalkthrough": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.GradesDown": "TinyLife.Emotions.EmotionModifier.yml",
@@ -684,6 +696,7 @@
"TinyLife.Emotions.EmotionModifier.ProteinShakeFrisky": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.ProteinShakeFriskyAsexual": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.PsychedUp": "TinyLife.Emotions.EmotionModifier.yml",
+ "TinyLife.Emotions.EmotionModifier.PublishedApp": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.PulledMuscle": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.RageQuit": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.ReadBook": "TinyLife.Emotions.EmotionModifier.yml",
@@ -695,6 +708,7 @@
"TinyLife.Emotions.EmotionModifier.ScrappedSomeonesProject": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.SelfCraftedFurniture": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.SleptOutside": "TinyLife.Emotions.EmotionModifier.yml",
+ "TinyLife.Emotions.EmotionModifier.SomeoneTriedMyFood": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.StandingDeskPositive": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.StandingDeskSore": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.StartedDating": "TinyLife.Emotions.EmotionModifier.yml",
@@ -710,6 +724,7 @@
"TinyLife.Emotions.EmotionModifier.Types": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.UncomfortableCraftedFurniture": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.UpsettingConversation": "TinyLife.Emotions.EmotionModifier.yml",
+ "TinyLife.Emotions.EmotionModifier.UsefulProgrammingResearch": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.WonTournament": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.WoodworkingSplinter": "TinyLife.Emotions.EmotionModifier.yml",
"TinyLife.Emotions.EmotionModifier.WritersBlock": "TinyLife.Emotions.EmotionModifier.yml",
@@ -743,7 +758,7 @@
"TinyLife.GameImpl": "TinyLife.GameImpl.yml",
"TinyLife.GameImpl.Camera": "TinyLife.GameImpl.yml",
"TinyLife.GameImpl.CanBeExtremelyFast": "TinyLife.GameImpl.yml",
- "TinyLife.GameImpl.CanSaveOrSwitchModes": "TinyLife.GameImpl.yml",
+ "TinyLife.GameImpl.CanSwitchGameModes": "TinyLife.GameImpl.yml",
"TinyLife.GameImpl.CurrentHousehold": "TinyLife.GameImpl.yml",
"TinyLife.GameImpl.CurrentLot": "TinyLife.GameImpl.yml",
"TinyLife.GameImpl.CurrentTime": "TinyLife.GameImpl.yml",
@@ -893,6 +908,7 @@
"TinyLife.Goals.JobType.Register(TinyLife.Goals.JobType)": "TinyLife.Goals.JobType.yml",
"TinyLife.Goals.JobType.RequiredAges": "TinyLife.Goals.JobType.yml",
"TinyLife.Goals.JobType.RequiredPromotionSkills": "TinyLife.Goals.JobType.yml",
+ "TinyLife.Goals.JobType.SourceString": "TinyLife.Goals.JobType.yml",
"TinyLife.Goals.JobType.ToScheduleString": "TinyLife.Goals.JobType.yml",
"TinyLife.Goals.JobType.Types": "TinyLife.Goals.JobType.yml",
"TinyLife.Goals.JobType.WorkHours": "TinyLife.Goals.JobType.yml",
@@ -946,10 +962,12 @@
"TinyLife.Goals.Project.CreateActions(TinyLife.Goals.Project.ActionSettings)": "TinyLife.Goals.Project.yml",
"TinyLife.Goals.Project.DailyPay": "TinyLife.Goals.Project.yml",
"TinyLife.Goals.Project.DailyPayReductionFactor": "TinyLife.Goals.Project.yml",
- "TinyLife.Goals.Project.GetAndReduceDailyPay": "TinyLife.Goals.Project.yml",
"TinyLife.Goals.Project.GetVarieties(TinyLife.Actions.ActionInfo,System.String,System.Predicate{TinyLife.Goals.Project},System.Func{TinyLife.Goals.Project,System.String})": "TinyLife.Goals.Project.yml",
"TinyLife.Goals.Project.MakeProgress(System.Single,System.Single,TinyLife.Actions.ActionInfo,TinyLife.Skills.SkillType,System.Single)": "TinyLife.Goals.Project.yml",
"TinyLife.Goals.Project.Name": "TinyLife.Goals.Project.yml",
+ "TinyLife.Goals.Project.OnNewDay": "TinyLife.Goals.Project.yml",
+ "TinyLife.Goals.Project.OpenNamePrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.Action{System.String},System.String)": "TinyLife.Goals.Project.yml",
+ "TinyLife.Goals.Project.OpenScrapPrompt(TinyLife.Actions.Typeless.TypelessAction,System.String,System.String,System.Action)": "TinyLife.Goals.Project.yml",
"TinyLife.Goals.Project.Person": "TinyLife.Goals.Project.yml",
"TinyLife.Goals.Project.Progress": "TinyLife.Goals.Project.yml",
"TinyLife.Goals.Project.Quality": "TinyLife.Goals.Project.yml",
@@ -1179,6 +1197,7 @@
"TinyLife.Objects.Furniture.GetDecorativeRating(TinyLife.World.Room)": "TinyLife.Objects.Furniture.yml",
"TinyLife.Objects.Furniture.GetDescription": "TinyLife.Objects.Furniture.yml",
"TinyLife.Objects.Furniture.GetDirty(System.TimeSpan)": "TinyLife.Objects.Furniture.yml",
+ "TinyLife.Objects.Furniture.GetDisplayName": "TinyLife.Objects.Furniture.yml",
"TinyLife.Objects.Furniture.GetFreeActionSpot(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory)": "TinyLife.Objects.Furniture.yml",
"TinyLife.Objects.Furniture.GetFreeActionSpotInfo(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory)": "TinyLife.Objects.Furniture.yml",
"TinyLife.Objects.Furniture.GetFreeActionSpots(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory)": "TinyLife.Objects.Furniture.yml",
@@ -1242,6 +1261,7 @@
"TinyLife.Objects.FurnitureType.FullyCushionedWoodworkingSofa": "TinyLife.Objects.FurnitureType.yml",
"TinyLife.Objects.FurnitureType.GetBestRotation(MLEM.Misc.Direction2)": "TinyLife.Objects.FurnitureType.yml",
"TinyLife.Objects.FurnitureType.GetCoveredTiles(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Point)": "TinyLife.Objects.FurnitureType.yml",
+ "TinyLife.Objects.FurnitureType.GetDisplayName(TinyLife.Objects.Furniture)": "TinyLife.Objects.FurnitureType.yml",
"TinyLife.Objects.FurnitureType.GetPrice": "TinyLife.Objects.FurnitureType.yml",
"TinyLife.Objects.FurnitureType.GetReferenceTexture(System.Nullable{MLEM.Misc.Direction2})": "TinyLife.Objects.FurnitureType.yml",
"TinyLife.Objects.FurnitureType.GetRoofingInTheWay(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,MLEM.Misc.Direction2)": "TinyLife.Objects.FurnitureType.yml",
@@ -1343,6 +1363,7 @@
"TinyLife.Objects.FurnitureType.TypeSettings.ElectricityRating": "TinyLife.Objects.FurnitureType.TypeSettings.yml",
"TinyLife.Objects.FurnitureType.TypeSettings.GetData``1(System.String)": "TinyLife.Objects.FurnitureType.TypeSettings.yml",
"TinyLife.Objects.FurnitureType.TypeSettings.GetDataKeys": "TinyLife.Objects.FurnitureType.TypeSettings.yml",
+ "TinyLife.Objects.FurnitureType.TypeSettings.GetDisplayName": "TinyLife.Objects.FurnitureType.TypeSettings.yml",
"TinyLife.Objects.FurnitureType.TypeSettings.HeldPivot": "TinyLife.Objects.FurnitureType.TypeSettings.yml",
"TinyLife.Objects.FurnitureType.TypeSettings.HeldScale": "TinyLife.Objects.FurnitureType.TypeSettings.yml",
"TinyLife.Objects.FurnitureType.TypeSettings.Icon": "TinyLife.Objects.FurnitureType.TypeSettings.yml",
@@ -1361,7 +1382,6 @@
"TinyLife.Objects.FurnitureType.VerticalDumbbellRack": "TinyLife.Objects.FurnitureType.yml",
"TinyLife.Objects.FurnitureType.WindowPlants": "TinyLife.Objects.FurnitureType.yml",
"TinyLife.Objects.FurnitureType.Wisteria": "TinyLife.Objects.FurnitureType.yml",
- "TinyLife.Objects.FurnitureType.WoodenToyBox": "TinyLife.Objects.FurnitureType.yml",
"TinyLife.Objects.FurnitureType.WoodworkingChair": "TinyLife.Objects.FurnitureType.yml",
"TinyLife.Objects.FurnitureType.WoodworkingChairArmrests": "TinyLife.Objects.FurnitureType.yml",
"TinyLife.Objects.FurnitureType.WoodworkingCloset": "TinyLife.Objects.FurnitureType.yml",
@@ -1494,7 +1514,7 @@
"TinyLife.Objects.ObjectSpot.#ctor(Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Predicate{TinyLife.Objects.FurnitureType},System.Single,MLEM.Misc.Direction2[])": "TinyLife.Objects.ObjectSpot.yml",
"TinyLife.Objects.ObjectSpot.#ctor(Microsoft.Xna.Framework.Vector2,System.Predicate{TinyLife.Objects.FurnitureType},System.Single,MLEM.Misc.Direction2[])": "TinyLife.Objects.ObjectSpot.yml",
"TinyLife.Objects.ObjectSpot.BarSpots": "TinyLife.Objects.ObjectSpot.yml",
- "TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean)": "TinyLife.Objects.ObjectSpot.yml",
+ "TinyLife.Objects.ObjectSpot.CounterSpots(System.Boolean,System.Single)": "TinyLife.Objects.ObjectSpot.yml",
"TinyLife.Objects.ObjectSpot.DeskSpots(System.Single,System.Boolean)": "TinyLife.Objects.ObjectSpot.yml",
"TinyLife.Objects.ObjectSpot.DoubleShelfSpots(System.Single)": "TinyLife.Objects.ObjectSpot.yml",
"TinyLife.Objects.ObjectSpot.GetContents``1(TinyLife.Objects.Furniture,System.Boolean)": "TinyLife.Objects.ObjectSpot.yml",
@@ -1634,9 +1654,9 @@
"TinyLife.Objects.Person.MaxRecentActionsAmount": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.Money": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.Needs": "TinyLife.Objects.Person.yml",
- "TinyLife.Objects.Person.OccupiedActionSpot": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.OccupiedFurniture": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.OccupyActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ActionSpot,System.Boolean,System.Nullable{MLEM.Misc.Direction2})": "TinyLife.Objects.Person.yml",
+ "TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.OnActionsChanged": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.OnActionsCompleted": "TinyLife.Objects.Person.yml",
@@ -1674,6 +1694,7 @@
"TinyLife.Objects.Person.RemoveEmotion(TinyLife.Emotions.EmotionModifier)": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.ResetToStatic(System.Boolean)": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,System.Single)": "TinyLife.Objects.Person.yml",
+ "TinyLife.Objects.Person.RestoreNeed(TinyLife.NeedType,System.Single,TinyLife.Skills.SkillType,System.Single)": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.Rotation": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.SetCurrentOutfit(System.Int32)": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.SetCurrentOutfit(TinyLife.Objects.ClothesIntention)": "TinyLife.Objects.Person.yml",
@@ -1691,6 +1712,7 @@
"TinyLife.Objects.Person.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.Validate": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.VisitLot(TinyLife.World.Lot)": "TinyLife.Objects.Person.yml",
+ "TinyLife.Objects.Person.VisuallyOccupiedSpot": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.VisualPosition": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.VoicePitch": "TinyLife.Objects.Person.yml",
"TinyLife.Objects.Person.WalkSpeedDelegate": "TinyLife.Objects.Person.WalkSpeedDelegate.yml",
@@ -1884,6 +1906,7 @@
"TinyLife.Skills.FoodType.GetPrice(System.Int32)": "TinyLife.Skills.FoodType.yml",
"TinyLife.Skills.FoodType.IngredientSource": "TinyLife.Skills.FoodType.IngredientSource.yml",
"TinyLife.Skills.FoodType.IngredientSource.Barbecue": "TinyLife.Skills.FoodType.IngredientSource.yml",
+ "TinyLife.Skills.FoodType.IngredientSource.ChildStove": "TinyLife.Skills.FoodType.IngredientSource.yml",
"TinyLife.Skills.FoodType.IngredientSource.Fridge": "TinyLife.Skills.FoodType.IngredientSource.yml",
"TinyLife.Skills.FoodType.IngredientSource.Other": "TinyLife.Skills.FoodType.IngredientSource.yml",
"TinyLife.Skills.FoodType.IngredientSource.ProteinShakeMaker": "TinyLife.Skills.FoodType.IngredientSource.yml",
@@ -1891,6 +1914,7 @@
"TinyLife.Skills.FoodType.Name": "TinyLife.Skills.FoodType.yml",
"TinyLife.Skills.FoodType.NeedsCooking": "TinyLife.Skills.FoodType.yml",
"TinyLife.Skills.FoodType.OnEaten": "TinyLife.Skills.FoodType.yml",
+ "TinyLife.Skills.FoodType.OnFoodEaten": "TinyLife.Skills.FoodType.yml",
"TinyLife.Skills.FoodType.Price": "TinyLife.Skills.FoodType.yml",
"TinyLife.Skills.FoodType.Register(TinyLife.Skills.FoodType)": "TinyLife.Skills.FoodType.yml",
"TinyLife.Skills.FoodType.RequiredCookingLevel": "TinyLife.Skills.FoodType.yml",
@@ -2002,7 +2026,7 @@
"TinyLife.Tools.LotTool.Update(Microsoft.Xna.Framework.GameTime)": "TinyLife.Tools.LotTool.yml",
"TinyLife.Tools.MoveLotTool": "TinyLife.Tools.MoveLotTool.yml",
"TinyLife.Tools.MoveLotTool.#ctor": "TinyLife.Tools.MoveLotTool.yml",
- "TinyLife.Tools.MoveLotTool.CanSaveOrSwitchModes": "TinyLife.Tools.MoveLotTool.yml",
+ "TinyLife.Tools.MoveLotTool.CanSwitchGameModes": "TinyLife.Tools.MoveLotTool.yml",
"TinyLife.Tools.MoveLotTool.Closed": "TinyLife.Tools.MoveLotTool.yml",
"TinyLife.Tools.MoveLotTool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)": "TinyLife.Tools.MoveLotTool.yml",
"TinyLife.Tools.MoveLotTool.GetMouseCursor": "TinyLife.Tools.MoveLotTool.yml",
@@ -2011,7 +2035,7 @@
"TinyLife.Tools.MoveLotTool.Update(Microsoft.Xna.Framework.GameTime)": "TinyLife.Tools.MoveLotTool.yml",
"TinyLife.Tools.MoveTool": "TinyLife.Tools.MoveTool.yml",
"TinyLife.Tools.MoveTool.#ctor": "TinyLife.Tools.MoveTool.yml",
- "TinyLife.Tools.MoveTool.CanSaveOrSwitchModes": "TinyLife.Tools.MoveTool.yml",
+ "TinyLife.Tools.MoveTool.CanSwitchGameModes": "TinyLife.Tools.MoveTool.yml",
"TinyLife.Tools.MoveTool.Closed": "TinyLife.Tools.MoveTool.yml",
"TinyLife.Tools.MoveTool.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)": "TinyLife.Tools.MoveTool.yml",
"TinyLife.Tools.MoveTool.GetMouseCursor": "TinyLife.Tools.MoveTool.yml",
@@ -2073,9 +2097,9 @@
"TinyLife.Tools.TileTool.Update(Microsoft.Xna.Framework.GameTime)": "TinyLife.Tools.TileTool.yml",
"TinyLife.Tools.Tool": "TinyLife.Tools.Tool.yml",
"TinyLife.Tools.Tool.#ctor(MLEM.Textures.TextureRegion,System.Boolean)": "TinyLife.Tools.Tool.yml",
- "TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,TinyLife.LnCategory,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single})": "TinyLife.Tools.Tool.yml",
+ "TinyLife.Tools.Tool.BuildModeButton(System.String,MLEM.Ui.Elements.Element.GenericCallback,MLEM.Ui.Elements.Element.DrawCallback,System.Single,MLEM.Textures.TextureRegion,System.Collections.Generic.IEnumerable{System.String},System.Nullable{System.Single})": "TinyLife.Tools.Tool.yml",
"TinyLife.Tools.Tool.BuildTools": "TinyLife.Tools.Tool.yml",
- "TinyLife.Tools.Tool.CanSaveOrSwitchModes": "TinyLife.Tools.Tool.yml",
+ "TinyLife.Tools.Tool.CanSwitchGameModes": "TinyLife.Tools.Tool.yml",
"TinyLife.Tools.Tool.Closed": "TinyLife.Tools.Tool.yml",
"TinyLife.Tools.Tool.ColorSelection(TinyLife.Utilities.ColorScheme,System.Action{System.Int32})": "TinyLife.Tools.Tool.yml",
"TinyLife.Tools.Tool.DisplayAsTab": "TinyLife.Tools.Tool.yml",
@@ -2139,12 +2163,13 @@
"TinyLife.Uis.CursorType.Range": "TinyLife.Uis.CursorType.yml",
"TinyLife.Uis.CursorType.Wall": "TinyLife.Uis.CursorType.yml",
"TinyLife.Uis.InGameHint": "TinyLife.Uis.InGameHint.yml",
- "TinyLife.Uis.InGameHint.#ctor(System.String,System.Func{System.Boolean})": "TinyLife.Uis.InGameHint.yml",
+ "TinyLife.Uis.InGameHint.#ctor(System.String,MLEM.Textures.TextureRegion,System.Func{System.Boolean})": "TinyLife.Uis.InGameHint.yml",
"TinyLife.Uis.InGameHint.ClothesIntentions": "TinyLife.Uis.InGameHint.yml",
"TinyLife.Uis.InGameHint.Condition": "TinyLife.Uis.InGameHint.yml",
"TinyLife.Uis.InGameHint.Display": "TinyLife.Uis.InGameHint.yml",
"TinyLife.Uis.InGameHint.HasBeenDisplayed": "TinyLife.Uis.InGameHint.yml",
"TinyLife.Uis.InGameHint.Hints": "TinyLife.Uis.InGameHint.yml",
+ "TinyLife.Uis.InGameHint.Icon": "TinyLife.Uis.InGameHint.yml",
"TinyLife.Uis.InGameHint.InteractionPages": "TinyLife.Uis.InGameHint.yml",
"TinyLife.Uis.InGameHint.Interactions": "TinyLife.Uis.InGameHint.yml",
"TinyLife.Uis.InGameHint.Introduction": "TinyLife.Uis.InGameHint.yml",
@@ -2168,7 +2193,6 @@
"TinyLife.Uis.Notifications.Add(TinyLife.Objects.MapObject,System.String,TinyLife.Uis.NotifType)": "TinyLife.Uis.Notifications.yml",
"TinyLife.Uis.Notifications.MaxHistoryLength": "TinyLife.Uis.Notifications.yml",
"TinyLife.Uis.NotifType": "TinyLife.Uis.NotifType.yml",
- "TinyLife.Uis.NotifType.Hint": "TinyLife.Uis.NotifType.yml",
"TinyLife.Uis.NotifType.Info": "TinyLife.Uis.NotifType.yml",
"TinyLife.Uis.NotifType.VeryImportant": "TinyLife.Uis.NotifType.yml",
"TinyLife.Uis.NotifType.VeryPositive": "TinyLife.Uis.NotifType.yml",
@@ -2284,6 +2308,10 @@
"TinyLife.World.ExportedLot.Tiles": "TinyLife.World.ExportedLot.yml",
"TinyLife.World.ExportedLot.Type": "TinyLife.World.ExportedLot.yml",
"TinyLife.World.ExportedLot.Walls": "TinyLife.World.ExportedLot.yml",
+ "TinyLife.World.FurnitureMail": "TinyLife.World.FurnitureMail.yml",
+ "TinyLife.World.FurnitureMail.#ctor(System.Guid,TinyLife.Objects.Furniture)": "TinyLife.World.FurnitureMail.yml",
+ "TinyLife.World.FurnitureMail.Item": "TinyLife.World.FurnitureMail.yml",
+ "TinyLife.World.FurnitureMail.OnCollected(TinyLife.Actions.Action)": "TinyLife.World.FurnitureMail.yml",
"TinyLife.World.GrassyAutoTile": "TinyLife.World.GrassyAutoTile.yml",
"TinyLife.World.GrassyAutoTile.#ctor(System.String,System.String,System.Int32,System.Collections.Generic.Dictionary{MLEM.Misc.Direction2,MLEM.Textures.TextureRegion},TinyLife.Utilities.ColorScheme[],System.Int32[],System.Boolean,System.Single,System.Boolean,MLEM.Textures.TextureRegion,System.Int32[])": "TinyLife.World.GrassyAutoTile.yml",
"TinyLife.World.GrassyAutoTile.Draw(System.Object,TinyLife.World.Map,Microsoft.Xna.Framework.Point,Microsoft.Xna.Framework.Vector2,System.Single,System.Single,System.Collections.Generic.ICollection{MLEM.Graphics.StaticSpriteBatch.Item})": "TinyLife.World.GrassyAutoTile.yml",
@@ -2444,7 +2472,6 @@
"TinyLife.World.Map.RemoveRoof(TinyLife.World.Roof)": "TinyLife.World.Map.yml",
"TinyLife.World.Map.RemoveWall(TinyLife.World.Wall,System.Boolean)": "TinyLife.World.Map.yml",
"TinyLife.World.Map.RoadRadius": "TinyLife.World.Map.yml",
- "TinyLife.World.Map.SendMail(TinyLife.World.Mail)": "TinyLife.World.Map.yml",
"TinyLife.World.Map.SetTile(Microsoft.Xna.Framework.Point,TinyLife.World.Tile)": "TinyLife.World.Map.yml",
"TinyLife.World.Map.Size": "TinyLife.World.Map.yml",
"TinyLife.World.Map.SizeInSections": "TinyLife.World.Map.yml",
diff --git a/docs/api/TinyLife.Actions.Action.yml b/docs/api/TinyLife.Actions.Action.yml
index 61391a9..5c43025 100644
--- a/docs/api/TinyLife.Actions.Action.yml
+++ b/docs/api/TinyLife.Actions.Action.yml
@@ -44,9 +44,7 @@ items:
content: 'public abstract class Action : TypelessAction, IGenericDataHolder'
content.vb: >-
Public MustInherit Class Action
-
Inherits TypelessAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -84,7 +82,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -216,16 +214,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n"
example: []
syntax:
content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The current game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed, in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.Typeless.TypelessAction.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.Action.Update*
@@ -257,12 +259,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n"
example: []
syntax:
content: public override void OnCompleted(CompletionType type)
parameters:
- id: type
type: TinyLife.Actions.CompletionType
+ description: The type that this action completed with
content.vb: Public Overrides Sub OnCompleted(type As CompletionType)
overridden: TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.Action.OnCompleted*
@@ -294,14 +298,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nValidates this action's data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the .\n"
example: []
syntax:
content: public override bool Validate(Person person)
parameters:
- id: person
type: TinyLife.Objects.Person
+ description: The person that this action belongs to
return:
type: System.Boolean
+ description: Whether or not the action is still valid (or if it has invalid data)
content.vb: Public Overrides Function Validate(person As Person) As Boolean
overridden: TinyLife.Actions.Typeless.TypelessAction.Validate(TinyLife.Objects.Person)
overload: TinyLife.Actions.Action.Validate*
@@ -653,13 +660,13 @@ items:
parameters:
- id: person
type: TinyLife.Objects.Person
- description: The person that wants to converse with us
+ description: The person that wants to converse with us.
- id: type
type: TinyLife.Actions.ActionType
- description: The type of action that should be enqueued
+ description: The type of action that should be enqueued. Might be null, in which case a generic or unknown action is querying this function.
return:
type: System.Boolean
- description: Whether or not enqueueing a social action is possible
+ description: Whether or not enqueueing a social action is possible.
content.vb: Public Overridable Function CanEnqueueConversation(person As Person, type As ActionType) As Boolean
overload: TinyLife.Actions.Action.CanEnqueueConversation*
modifiers.csharp:
@@ -1949,31 +1956,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -1981,6 +1981,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2028,20 +2035,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2049,6 +2049,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.ActionInfo.yml b/docs/api/TinyLife.Actions.ActionInfo.yml
index 11c26b0..9107420 100644
--- a/docs/api/TinyLife.Actions.ActionInfo.yml
+++ b/docs/api/TinyLife.Actions.ActionInfo.yml
@@ -16,7 +16,6 @@ items:
- TinyLife.Actions.ActionInfo.GetInvolvedObject``1(TinyLife.Objects.ObjectCategory,System.Boolean,System.Func{``0,System.Boolean})
- TinyLife.Actions.ActionInfo.GetInvolvedObjects``1(TinyLife.Objects.ObjectCategory,System.Boolean)
- TinyLife.Actions.ActionInfo.Map
- - TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})
- TinyLife.Actions.ActionInfo.Person
- TinyLife.Actions.ActionInfo.ToFreeActionSpot(TinyLife.Objects.ObjectCategory)
- TinyLife.Actions.ActionInfo.Validate(TinyLife.Objects.Person)
@@ -49,9 +48,7 @@ items:
Public Class ActionInfo
-
Inherits JsonTypeSafeGenericDataHolder
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -395,7 +392,6 @@ items:
syntax:
content: >-
public T GetInvolvedObject(ObjectCategory category = null, bool includeIndirectly = true, Func predicate = null)
-
where T : MapObject
parameters:
- id: category
@@ -500,54 +496,6 @@ items:
- public
modifiers.vb:
- Public
-- uid: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})
- commentId: M:TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})
- id: OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})
- parent: TinyLife.Actions.ActionInfo
- langs:
- - csharp
- - vb
- name: OccupyFreeActionSpot(ObjectCategory, Boolean, Nullable)
- nameWithType: ActionInfo.OccupyFreeActionSpot(ObjectCategory, Boolean, Nullable)
- fullName: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory, System.Boolean, System.Nullable)
- type: Method
- source:
- remote:
- path: TinyLife/Actions/ActionInfo.cs
- branch: master
- repo: https://git.ellpeck.de/Ellpeck/TinyLife
- id: OccupyFreeActionSpot
- path: Actions/ActionInfo.cs
- startLine: 175
- assemblies:
- - Tiny Life
- namespace: TinyLife.Actions
- summary: "\nThis is a shorthand method for .\nNote that this method needs to be called every update frame for the person to keep occupying the action spot.\n"
- example: []
- syntax:
- content: public bool OccupyFreeActionSpot(ObjectCategory context = null, bool enter = false, Direction2? rotation = default(Direction2? ))
- parameters:
- - id: context
- type: TinyLife.Objects.ObjectCategory
- description: The category that the action spot should have
- - id: enter
- type: System.Boolean
- description: Whether or not the action spot should be entered
- - id: rotation
- type: System.Nullable{MLEM.Misc.Direction2}
- description: The rotation that the person should have, or the action spot's rotation by default
- return:
- type: System.Boolean
- description: Whether or not we were able to occupy a free action spot
- content.vb: Public Function OccupyFreeActionSpot(context As ObjectCategory = Nothing, enter As Boolean = False, rotation As Direction2? = Nothing) As Boolean
- overload: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot*
- nameWithType.vb: ActionInfo.OccupyFreeActionSpot(ObjectCategory, Boolean, Nullable(Of Direction2))
- modifiers.csharp:
- - public
- modifiers.vb:
- - Public
- fullName.vb: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot(TinyLife.Objects.ObjectCategory, System.Boolean, System.Nullable(Of MLEM.Misc.Direction2))
- name.vb: OccupyFreeActionSpot(ObjectCategory, Boolean, Nullable(Of Direction2))
- uid: TinyLife.Actions.ActionInfo.Validate(TinyLife.Objects.Person)
commentId: M:TinyLife.Actions.ActionInfo.Validate(TinyLife.Objects.Person)
id: Validate(TinyLife.Objects.Person)
@@ -566,7 +514,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Validate
path: Actions/ActionInfo.cs
- startLine: 185
+ startLine: 172
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -602,7 +550,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromLocation
path: Actions/ActionInfo.cs
- startLine: 231
+ startLine: 218
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -646,7 +594,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromObjectGeneric
path: Actions/ActionInfo.cs
- startLine: 241
+ startLine: 228
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -690,7 +638,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FromSelf
path: Actions/ActionInfo.cs
- startLine: 250
+ startLine: 237
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1741,97 +1689,6 @@ references:
name: ActionInfo
nameWithType: ActionInfo
fullName: TinyLife.Actions.ActionInfo
-- uid: TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})
- commentId: M:TinyLife.Objects.Person.OccupyFreeActionSpot(TinyLife.Objects.Furniture,TinyLife.Objects.ObjectCategory,System.Boolean,System.Nullable{MLEM.Misc.Direction2})
- isExternal: true
-- uid: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot*
- commentId: Overload:TinyLife.Actions.ActionInfo.OccupyFreeActionSpot
- name: OccupyFreeActionSpot
- nameWithType: ActionInfo.OccupyFreeActionSpot
- fullName: TinyLife.Actions.ActionInfo.OccupyFreeActionSpot
-- uid: System.Nullable{MLEM.Misc.Direction2}
- commentId: T:System.Nullable{MLEM.Misc.Direction2}
- parent: System
- definition: System.Nullable`1
- name: Nullable
- nameWithType: Nullable
- fullName: System.Nullable
- nameWithType.vb: Nullable(Of Direction2)
- fullName.vb: System.Nullable(Of MLEM.Misc.Direction2)
- name.vb: Nullable(Of Direction2)
- spec.csharp:
- - uid: System.Nullable`1
- name: Nullable
- nameWithType: Nullable
- fullName: System.Nullable
- isExternal: true
- - name: <
- nameWithType: <
- fullName: <
- - uid: MLEM.Misc.Direction2
- name: Direction2
- nameWithType: Direction2
- fullName: MLEM.Misc.Direction2
- isExternal: true
- - name: '>'
- nameWithType: '>'
- fullName: '>'
- spec.vb:
- - uid: System.Nullable`1
- name: Nullable
- nameWithType: Nullable
- fullName: System.Nullable
- isExternal: true
- - name: '(Of '
- nameWithType: '(Of '
- fullName: '(Of '
- - uid: MLEM.Misc.Direction2
- name: Direction2
- nameWithType: Direction2
- fullName: MLEM.Misc.Direction2
- isExternal: true
- - name: )
- nameWithType: )
- fullName: )
-- uid: System.Nullable`1
- commentId: T:System.Nullable`1
- isExternal: true
- name: Nullable
- nameWithType: Nullable
- fullName: System.Nullable
- nameWithType.vb: Nullable(Of T)
- fullName.vb: System.Nullable(Of T)
- name.vb: Nullable(Of T)
- spec.csharp:
- - uid: System.Nullable`1
- name: Nullable
- nameWithType: Nullable
- fullName: System.Nullable
- isExternal: true
- - name: <
- nameWithType: <
- fullName: <
- - name: T
- nameWithType: T
- fullName: T
- - name: '>'
- nameWithType: '>'
- fullName: '>'
- spec.vb:
- - uid: System.Nullable`1
- name: Nullable
- nameWithType: Nullable
- fullName: System.Nullable
- isExternal: true
- - name: '(Of '
- nameWithType: '(Of '
- fullName: '(Of '
- - name: T
- nameWithType: T
- fullName: T
- - name: )
- nameWithType: )
- fullName: )
- uid: TinyLife.Actions.ActionInfo.Validate*
commentId: Overload:TinyLife.Actions.ActionInfo.Validate
name: Validate
diff --git a/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml b/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml
index a39e701..ed6873b 100644
--- a/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml
+++ b/docs/api/TinyLife.Actions.ActionType.TypeSettings.yml
@@ -50,7 +50,6 @@ items:
content: 'public struct TypeSettings : IGenericDataHolder'
content.vb: >-
Public Structure TypeSettings
-
Implements IGenericDataHolder
implements:
- MLEM.Misc.IGenericDataHolder
@@ -497,7 +496,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
- summary: "\nA function that determines this action's actual display name.\nThe function is given the default display name () and an for the current situation.\nIf this value is null (which it is by default), the default display name will be displayed.\n"
+ summary: "\nA function that determines this action's actual display name.\nThe function is given the default display name () and an for the current situation, the latter of which may be null.\nIf this value is null (which it is by default), the default display name will be displayed.\n"
example: []
syntax:
content: public Func GetDisplayName
diff --git a/docs/api/TinyLife.Actions.ActionType.yml b/docs/api/TinyLife.Actions.ActionType.yml
index 4fe62c8..a056538 100644
--- a/docs/api/TinyLife.Actions.ActionType.yml
+++ b/docs/api/TinyLife.Actions.ActionType.yml
@@ -12,6 +12,7 @@ items:
- TinyLife.Actions.ActionType.AskAboutGamingRig
- TinyLife.Actions.ActionType.AskAboutPersonality
- TinyLife.Actions.ActionType.AskToLeave
+ - TinyLife.Actions.ActionType.AskToTaste
- TinyLife.Actions.ActionType.BeAwayFromLotEmployment
- TinyLife.Actions.ActionType.BoastAboutPagesWritten
- TinyLife.Actions.ActionType.BreakUp
@@ -21,6 +22,9 @@ items:
- TinyLife.Actions.ActionType.CanDoImportantAction(TinyLife.Actions.ActionInfo,System.Boolean)
- TinyLife.Actions.ActionType.CanExecute(TinyLife.Actions.ActionInfo,System.Boolean)
- TinyLife.Actions.ActionType.CanExecuteAll(TinyLife.Actions.ActionInfo,System.Boolean,TinyLife.Actions.ActionType.CanExecuteDelegate[])
+ - TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)
+ - TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean},System.Boolean)
+ - TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)
- TinyLife.Actions.ActionType.CanPlaceHeldItem(TinyLife.Actions.ActionInfo,System.Boolean)
- TinyLife.Actions.ActionType.CanWorkAtDeskObject(TinyLife.Actions.ActionInfo,System.Boolean)
- TinyLife.Actions.ActionType.ChangeOutfit
@@ -37,6 +41,7 @@ items:
- TinyLife.Actions.ActionType.ConfideIn
- TinyLife.Actions.ActionType.Construct(TinyLife.Actions.ActionInfo,System.Nullable{TinyLife.Actions.ActionVariety})
- TinyLife.Actions.ActionType.CookFood
+ - TinyLife.Actions.ActionType.CreateApp
- TinyLife.Actions.ActionType.DeliverMail
- TinyLife.Actions.ActionType.Die
- TinyLife.Actions.ActionType.DiscussWorkoutRegimen
@@ -49,6 +54,7 @@ items:
- TinyLife.Actions.ActionType.GaugeRelationship
- TinyLife.Actions.ActionType.GetDisplayName(TinyLife.Actions.ActionInfo,System.Boolean)
- TinyLife.Actions.ActionType.GetFoodSomewhereElse
+ - TinyLife.Actions.ActionType.GetFurnitureMail
- TinyLife.Actions.ActionType.GetIconName
- TinyLife.Actions.ActionType.GetIngredientsFamily
- TinyLife.Actions.ActionType.GetIngredientsSingle
@@ -73,8 +79,6 @@ items:
- TinyLife.Actions.ActionType.IsDislikedOrMean(TinyLife.Actions.ActionInfo,System.Boolean)
- TinyLife.Actions.ActionType.IsEmptyHanded(TinyLife.Actions.ActionInfo,System.Boolean)
- TinyLife.Actions.ActionType.IsFunctional(TinyLife.Actions.ActionInfo,System.Boolean)
- - TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)
- - TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)
- TinyLife.Actions.ActionType.IsNotEmbarrassed(TinyLife.Actions.ActionInfo,System.Boolean)
- TinyLife.Actions.ActionType.IsNotExpired(TinyLife.Actions.ActionInfo,System.Boolean)
- TinyLife.Actions.ActionType.IsNotUncomfortable(TinyLife.Actions.ActionInfo,System.Boolean)
@@ -114,6 +118,7 @@ items:
- TinyLife.Actions.ActionType.PracticeWriting
- TinyLife.Actions.ActionType.PrepareFood
- TinyLife.Actions.ActionType.PsychSelfUp
+ - TinyLife.Actions.ActionType.PublishApp
- TinyLife.Actions.ActionType.PutAway
- TinyLife.Actions.ActionType.PutDown
- TinyLife.Actions.ActionType.QuitJob
@@ -121,6 +126,7 @@ items:
- TinyLife.Actions.ActionType.Register(TinyLife.Actions.ActionType.TypeSettings)
- TinyLife.Actions.ActionType.RegisterAll(System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionType.TypeSettings})
- TinyLife.Actions.ActionType.Repair
+ - TinyLife.Actions.ActionType.ResearchProgrammingPatterns
- TinyLife.Actions.ActionType.RunOnTreadmill
- TinyLife.Actions.ActionType.Scrap
- TinyLife.Actions.ActionType.SelfPublishBook
@@ -195,7 +201,6 @@ items:
Public Class ActionType
-
Implements IEmotionSource
inheritance:
- System.Object
@@ -311,6 +316,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nA (localized) string that is displayed when hovering over an that has this source\n"
example: []
syntax:
content: public string SourceString { get; }
@@ -352,7 +358,7 @@ items:
summary: "\nCreates a new instance of this .\n"
example: []
syntax:
- content: public Action Construct(ActionInfo info, ActionVariety? variety = default(ActionVariety? ))
+ content: public Action Construct(ActionInfo info, ActionVariety? variety = null)
parameters:
- id: info
type: TinyLife.Actions.ActionInfo
@@ -2357,10 +2363,80 @@ items:
- Tiny Life
namespace: TinyLife.Actions
syntax:
- content: public static readonly ActionType ModGame
+ content: public static readonly ActionType[] ModGame
+ return:
+ type: TinyLife.Actions.ActionType[]
+ content.vb: Public Shared ReadOnly ModGame As ActionType()
+ modifiers.csharp:
+ - public
+ - static
+ - readonly
+ modifiers.vb:
+ - Public
+ - Shared
+ - ReadOnly
+- uid: TinyLife.Actions.ActionType.CreateApp
+ commentId: F:TinyLife.Actions.ActionType.CreateApp
+ id: CreateApp
+ parent: TinyLife.Actions.ActionType
+ langs:
+ - csharp
+ - vb
+ name: CreateApp
+ nameWithType: ActionType.CreateApp
+ fullName: TinyLife.Actions.ActionType.CreateApp
+ type: Field
+ source:
+ remote:
+ path: TinyLife/Actions/ActionType.Misc.cs
+ branch: master
+ repo: https://git.ellpeck.de/Ellpeck/TinyLife
+ id: CreateApp
+ path: Actions/ActionType.Misc.cs
+ startLine: 281
+ assemblies:
+ - Tiny Life
+ namespace: TinyLife.Actions
+ syntax:
+ content: public static readonly ActionType[] CreateApp
+ return:
+ type: TinyLife.Actions.ActionType[]
+ content.vb: Public Shared ReadOnly CreateApp As ActionType()
+ modifiers.csharp:
+ - public
+ - static
+ - readonly
+ modifiers.vb:
+ - Public
+ - Shared
+ - ReadOnly
+- uid: TinyLife.Actions.ActionType.PublishApp
+ commentId: F:TinyLife.Actions.ActionType.PublishApp
+ id: PublishApp
+ parent: TinyLife.Actions.ActionType
+ langs:
+ - csharp
+ - vb
+ name: PublishApp
+ nameWithType: ActionType.PublishApp
+ fullName: TinyLife.Actions.ActionType.PublishApp
+ type: Field
+ source:
+ remote:
+ path: TinyLife/Actions/ActionType.Misc.cs
+ branch: master
+ repo: https://git.ellpeck.de/Ellpeck/TinyLife
+ id: PublishApp
+ path: Actions/ActionType.Misc.cs
+ startLine: 287
+ assemblies:
+ - Tiny Life
+ namespace: TinyLife.Actions
+ syntax:
+ content: public static readonly ActionType PublishApp
return:
type: TinyLife.Actions.ActionType
- content.vb: Public Shared ReadOnly ModGame As ActionType
+ content.vb: Public Shared ReadOnly PublishApp As ActionType
modifiers.csharp:
- public
- static
@@ -2387,7 +2463,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HackSomeone
path: Actions/ActionType.Misc.cs
- startLine: 284
+ startLine: 293
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2404,6 +2480,41 @@ items:
- Public
- Shared
- ReadOnly
+- uid: TinyLife.Actions.ActionType.ResearchProgrammingPatterns
+ commentId: F:TinyLife.Actions.ActionType.ResearchProgrammingPatterns
+ id: ResearchProgrammingPatterns
+ parent: TinyLife.Actions.ActionType
+ langs:
+ - csharp
+ - vb
+ name: ResearchProgrammingPatterns
+ nameWithType: ActionType.ResearchProgrammingPatterns
+ fullName: TinyLife.Actions.ActionType.ResearchProgrammingPatterns
+ type: Field
+ source:
+ remote:
+ path: TinyLife/Actions/ActionType.Misc.cs
+ branch: master
+ repo: https://git.ellpeck.de/Ellpeck/TinyLife
+ id: ResearchProgrammingPatterns
+ path: Actions/ActionType.Misc.cs
+ startLine: 298
+ assemblies:
+ - Tiny Life
+ namespace: TinyLife.Actions
+ syntax:
+ content: public static readonly ActionType ResearchProgrammingPatterns
+ return:
+ type: TinyLife.Actions.ActionType
+ content.vb: Public Shared ReadOnly ResearchProgrammingPatterns As ActionType
+ modifiers.csharp:
+ - public
+ - static
+ - readonly
+ modifiers.vb:
+ - Public
+ - Shared
+ - ReadOnly
- uid: TinyLife.Actions.ActionType.WatchTv
commentId: F:TinyLife.Actions.ActionType.WatchTv
id: WatchTv
@@ -2422,7 +2533,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WatchTv
path: Actions/ActionType.Misc.cs
- startLine: 289
+ startLine: 303
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2457,7 +2568,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Repair
path: Actions/ActionType.Misc.cs
- startLine: 300
+ startLine: 314
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2492,7 +2603,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PayBills
path: Actions/ActionType.Misc.cs
- startLine: 313
+ startLine: 327
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2527,7 +2638,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PracticeWriting
path: Actions/ActionType.Misc.cs
- startLine: 327
+ startLine: 341
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2562,7 +2673,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WriteBook
path: Actions/ActionType.Misc.cs
- startLine: 335
+ startLine: 349
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2597,7 +2708,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SelfPublishBook
path: Actions/ActionType.Misc.cs
- startLine: 348
+ startLine: 359
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2632,7 +2743,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HaveBookPublished
path: Actions/ActionType.Misc.cs
- startLine: 349
+ startLine: 360
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2667,7 +2778,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LockDoor
path: Actions/ActionType.Misc.cs
- startLine: 350
+ startLine: 361
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2702,7 +2813,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AdmireLgbtFlag
path: Actions/ActionType.Misc.cs
- startLine: 358
+ startLine: 369
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2737,7 +2848,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ShakeTree
path: Actions/ActionType.Misc.cs
- startLine: 361
+ startLine: 372
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2772,7 +2883,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RunOnTreadmill
path: Actions/ActionType.Misc.cs
- startLine: 364
+ startLine: 375
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2807,7 +2918,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GoJogging
path: Actions/ActionType.Misc.cs
- startLine: 372
+ startLine: 383
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2842,7 +2953,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LiftWeights
path: Actions/ActionType.Misc.cs
- startLine: 380
+ startLine: 391
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2877,7 +2988,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MixProteinShake
path: Actions/ActionType.Misc.cs
- startLine: 388
+ startLine: 399
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2912,7 +3023,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetWater
path: Actions/ActionType.Misc.cs
- startLine: 397
+ startLine: 408
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2947,7 +3058,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: WashHands
path: Actions/ActionType.Misc.cs
- startLine: 405
+ startLine: 416
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2982,7 +3093,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ToggleLight
path: Actions/ActionType.Misc.cs
- startLine: 412
+ startLine: 423
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3017,7 +3128,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ToggleAllLights
path: Actions/ActionType.Misc.cs
- startLine: 415
+ startLine: 426
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3052,7 +3163,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GrillFood
path: Actions/ActionType.Misc.cs
- startLine: 426
+ startLine: 437
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3087,7 +3198,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ThrowAway
path: Actions/ActionType.Misc.cs
- startLine: 436
+ startLine: 447
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3122,7 +3233,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Scrap
path: Actions/ActionType.Misc.cs
- startLine: 444
+ startLine: 455
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3157,7 +3268,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CleanEverything
path: Actions/ActionType.Misc.cs
- startLine: 450
+ startLine: 461
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3192,7 +3303,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Clean
path: Actions/ActionType.Misc.cs
- startLine: 456
+ startLine: 467
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3227,7 +3338,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Woodworking
path: Actions/ActionType.Misc.cs
- startLine: 464
+ startLine: 475
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3262,7 +3373,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LightFireplace
path: Actions/ActionType.Misc.cs
- startLine: 486
+ startLine: 497
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3297,7 +3408,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PsychSelfUp
path: Actions/ActionType.Misc.cs
- startLine: 522
+ startLine: 546
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3332,7 +3443,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Store
path: Actions/ActionType.Misc.cs
- startLine: 525
+ startLine: 549
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3349,6 +3460,41 @@ items:
- Public
- Shared
- ReadOnly
+- uid: TinyLife.Actions.ActionType.GetFurnitureMail
+ commentId: F:TinyLife.Actions.ActionType.GetFurnitureMail
+ id: GetFurnitureMail
+ parent: TinyLife.Actions.ActionType
+ langs:
+ - csharp
+ - vb
+ name: GetFurnitureMail
+ nameWithType: ActionType.GetFurnitureMail
+ fullName: TinyLife.Actions.ActionType.GetFurnitureMail
+ type: Field
+ source:
+ remote:
+ path: TinyLife/Actions/ActionType.Misc.cs
+ branch: master
+ repo: https://git.ellpeck.de/Ellpeck/TinyLife
+ id: GetFurnitureMail
+ path: Actions/ActionType.Misc.cs
+ startLine: 553
+ assemblies:
+ - Tiny Life
+ namespace: TinyLife.Actions
+ syntax:
+ content: public static readonly ActionType GetFurnitureMail
+ return:
+ type: TinyLife.Actions.ActionType
+ content.vb: Public Shared ReadOnly GetFurnitureMail As ActionType
+ modifiers.csharp:
+ - public
+ - static
+ - readonly
+ modifiers.vb:
+ - Public
+ - Shared
+ - ReadOnly
- uid: TinyLife.Actions.ActionType.ConfideIn
commentId: F:TinyLife.Actions.ActionType.ConfideIn
id: ConfideIn
@@ -3699,6 +3845,41 @@ items:
- Public
- Shared
- ReadOnly
+- uid: TinyLife.Actions.ActionType.AskToTaste
+ commentId: F:TinyLife.Actions.ActionType.AskToTaste
+ id: AskToTaste
+ parent: TinyLife.Actions.ActionType
+ langs:
+ - csharp
+ - vb
+ name: AskToTaste
+ nameWithType: ActionType.AskToTaste
+ fullName: TinyLife.Actions.ActionType.AskToTaste
+ type: Field
+ source:
+ remote:
+ path: TinyLife/Actions/ActionType.Social.cs
+ branch: master
+ repo: https://git.ellpeck.de/Ellpeck/TinyLife
+ id: AskToTaste
+ path: Actions/ActionType.Social.cs
+ startLine: 112
+ assemblies:
+ - Tiny Life
+ namespace: TinyLife.Actions
+ syntax:
+ content: public static readonly ActionType AskToTaste
+ return:
+ type: TinyLife.Actions.ActionType
+ content.vb: Public Shared ReadOnly AskToTaste As ActionType
+ modifiers.csharp:
+ - public
+ - static
+ - readonly
+ modifiers.vb:
+ - Public
+ - Shared
+ - ReadOnly
- uid: TinyLife.Actions.ActionType.Talk
commentId: F:TinyLife.Actions.ActionType.Talk
id: Talk
@@ -3717,7 +3898,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Talk
path: Actions/ActionType.Social.cs
- startLine: 114
+ startLine: 123
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3752,7 +3933,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AskAboutDay
path: Actions/ActionType.Social.cs
- startLine: 118
+ startLine: 127
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3787,7 +3968,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TellEngagingStory
path: Actions/ActionType.Social.cs
- startLine: 122
+ startLine: 131
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3822,7 +4003,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TellStory
path: Actions/ActionType.Social.cs
- startLine: 127
+ startLine: 136
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3857,7 +4038,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TalkAboutWork
path: Actions/ActionType.Social.cs
- startLine: 131
+ startLine: 140
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3892,7 +4073,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TalkAboutNeighborhood
path: Actions/ActionType.Social.cs
- startLine: 137
+ startLine: 146
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3927,7 +4108,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TalkAboutOutdoors
path: Actions/ActionType.Social.cs
- startLine: 142
+ startLine: 151
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3962,7 +4143,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TalkAboutFood
path: Actions/ActionType.Social.cs
- startLine: 146
+ startLine: 155
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -3997,7 +4178,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DiscussWorkoutRegimen
path: Actions/ActionType.Social.cs
- startLine: 150
+ startLine: 159
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4032,7 +4213,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CompareMuscleSize
path: Actions/ActionType.Social.cs
- startLine: 157
+ startLine: 166
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4067,7 +4248,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GushAboutPartner
path: Actions/ActionType.Social.cs
- startLine: 164
+ startLine: 173
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4102,7 +4283,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AskAboutGamingRig
path: Actions/ActionType.Social.cs
- startLine: 170
+ startLine: 179
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4137,7 +4318,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AskAboutComputerSpecs
path: Actions/ActionType.Social.cs
- startLine: 175
+ startLine: 184
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4172,7 +4353,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BoastAboutPagesWritten
path: Actions/ActionType.Social.cs
- startLine: 180
+ startLine: 189
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4207,7 +4388,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PoseMathPuzzle
path: Actions/ActionType.Social.cs
- startLine: 186
+ startLine: 195
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4242,7 +4423,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ExpressFearOfCrowds
path: Actions/ActionType.Social.cs
- startLine: 191
+ startLine: 200
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4277,7 +4458,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TalkAboutNaps
path: Actions/ActionType.Social.cs
- startLine: 196
+ startLine: 205
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4312,7 +4493,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TalkAboutWatchingTv
path: Actions/ActionType.Social.cs
- startLine: 202
+ startLine: 211
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4347,7 +4528,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InviteToHousehold
path: Actions/ActionType.Social.cs
- startLine: 207
+ startLine: 216
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4382,7 +4563,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TellJoke
path: Actions/ActionType.Social.cs
- startLine: 254
+ startLine: 263
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4417,7 +4598,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TellFunnyStory
path: Actions/ActionType.Social.cs
- startLine: 260
+ startLine: 269
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4452,7 +4633,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TellRidiculousStory
path: Actions/ActionType.Social.cs
- startLine: 265
+ startLine: 274
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4487,7 +4668,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TellComplexJoke
path: Actions/ActionType.Social.cs
- startLine: 270
+ startLine: 279
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4522,7 +4703,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PlayTrick
path: Actions/ActionType.Social.cs
- startLine: 276
+ startLine: 285
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4557,7 +4738,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: JokeAboutWork
path: Actions/ActionType.Social.cs
- startLine: 282
+ startLine: 291
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4592,7 +4773,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: JokeAboutOwnUnemployment
path: Actions/ActionType.Social.cs
- startLine: 289
+ startLine: 298
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4627,7 +4808,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: JokeAboutTreadmillAccidents
path: Actions/ActionType.Social.cs
- startLine: 296
+ startLine: 305
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4662,7 +4843,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: JokeAboutWritingStyle
path: Actions/ActionType.Social.cs
- startLine: 303
+ startLine: 312
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4697,7 +4878,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: JokeAboutAromance
path: Actions/ActionType.Social.cs
- startLine: 310
+ startLine: 319
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4732,7 +4913,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: JokeAboutAsexuality
path: Actions/ActionType.Social.cs
- startLine: 317
+ startLine: 326
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4767,7 +4948,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TellJokeAboutSomething
path: Actions/ActionType.Social.cs
- startLine: 324
+ startLine: 333
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4802,7 +4983,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Insult
path: Actions/ActionType.Social.cs
- startLine: 338
+ startLine: 347
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4837,7 +5018,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ImplyMotherIsCamel
path: Actions/ActionType.Social.cs
- startLine: 343
+ startLine: 352
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4872,7 +5053,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MakeFunOfUnemployment
path: Actions/ActionType.Social.cs
- startLine: 348
+ startLine: 357
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4907,7 +5088,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MakeFunOfLaziness
path: Actions/ActionType.Social.cs
- startLine: 354
+ startLine: 363
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4942,7 +5123,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MakeFunOfIntroversion
path: Actions/ActionType.Social.cs
- startLine: 359
+ startLine: 368
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -4977,7 +5158,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MakeFunOfNiceness
path: Actions/ActionType.Social.cs
- startLine: 365
+ startLine: 374
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5012,7 +5193,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ComplainAboutRelationship
path: Actions/ActionType.Social.cs
- startLine: 370
+ startLine: 379
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5047,7 +5228,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MakeFunOfPoorFitness
path: Actions/ActionType.Social.cs
- startLine: 376
+ startLine: 385
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5082,7 +5263,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: BreakUp
path: Actions/ActionType.Social.cs
- startLine: 383
+ startLine: 392
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5117,7 +5298,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Flirt
path: Actions/ActionType.Social.cs
- startLine: 412
+ startLine: 421
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5152,7 +5333,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ComplimentLooks
path: Actions/ActionType.Social.cs
- startLine: 417
+ startLine: 426
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5187,7 +5368,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: MakeRisqueRemark
path: Actions/ActionType.Social.cs
- startLine: 422
+ startLine: 431
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5222,7 +5403,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: StartDating
path: Actions/ActionType.Social.cs
- startLine: 429
+ startLine: 438
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5257,7 +5438,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FoolAround
path: Actions/ActionType.Social.cs
- startLine: 444
+ startLine: 453
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5274,23 +5455,23 @@ items:
- Public
- Shared
- ReadOnly
-- uid: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)
- commentId: M:TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)
- id: IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)
+- uid: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)
+ commentId: M:TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)
+ id: CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,TinyLife.Objects.ObjectCategory,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)
parent: TinyLife.Actions.ActionType
langs:
- csharp
- vb
- name: IsHoldingOrValidParent(ActionInfo, ObjectCategory, Func, Boolean, Boolean)
- nameWithType: ActionType.IsHoldingOrValidParent(ActionInfo, ObjectCategory, Func, Boolean, Boolean)
- fullName: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo, TinyLife.Objects.ObjectCategory, System.Func, System.Boolean, System.Boolean)
+ name: CanPickUpOrIsHoldingForTarget(ActionInfo, ObjectCategory, Func, Boolean, Boolean, Boolean)
+ nameWithType: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, ObjectCategory, Func, Boolean, Boolean, Boolean)
+ fullName: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, TinyLife.Objects.ObjectCategory, System.Func, System.Boolean, System.Boolean, System.Boolean)
type: Method
source:
remote:
path: TinyLife/Actions/ActionType.Utilities.cs
branch: master
repo: https://git.ellpeck.de/Ellpeck/TinyLife
- id: IsHoldingOrValidParent
+ id: CanPickUpOrIsHoldingForTarget
path: Actions/ActionType.Utilities.cs
startLine: 32
assemblies:
@@ -5299,7 +5480,7 @@ items:
summary: "\nA helper method intended to be used with that returns in the following cases:\n- The held object
isAllowed
and the action object matches the goalParent
category - The held object is null and the action objectt
isAllowed
\nThis helper method is useful in cases like , where the action should be allowed if the person is holding a food plate and clicking a chair, or if a person is clicking the food plate itself.\n"
example: []
syntax:
- content: public static ActionType.CanExecuteResult IsHoldingOrValidParent(ActionInfo info, ObjectCategory goalParent, Func isAllowed, bool parentHasToExist = false, bool allowAnyInvolved = false)
+ content: public static ActionType.CanExecuteResult CanPickUpOrIsHoldingForTarget(ActionInfo info, ObjectCategory goalParent, Func isAllowed, bool parentHasToExist = false, bool allowAnyInvolved = false, bool needsObjectSpot = false)
parameters:
- id: info
type: TinyLife.Actions.ActionInfo
@@ -5316,37 +5497,39 @@ items:
- id: allowAnyInvolved
type: System.Boolean
description: Whether any should be passed to isAllowed
, instead of just the action object
+ - id: needsObjectSpot
+ type: System.Boolean
return:
type: TinyLife.Actions.ActionType.CanExecuteResult
description: A result that represents the validity of the action
- content.vb: Public Shared Function IsHoldingOrValidParent(info As ActionInfo, goalParent As ObjectCategory, isAllowed As Func(Of Furniture, Boolean), parentHasToExist As Boolean = False, allowAnyInvolved As Boolean = False) As ActionType.CanExecuteResult
- overload: TinyLife.Actions.ActionType.IsHoldingOrValidParent*
- nameWithType.vb: ActionType.IsHoldingOrValidParent(ActionInfo, ObjectCategory, Func(Of Furniture, Boolean), Boolean, Boolean)
+ content.vb: Public Shared Function CanPickUpOrIsHoldingForTarget(info As ActionInfo, goalParent As ObjectCategory, isAllowed As Func(Of Furniture, Boolean), parentHasToExist As Boolean = False, allowAnyInvolved As Boolean = False, needsObjectSpot As Boolean = False) As ActionType.CanExecuteResult
+ overload: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget*
+ nameWithType.vb: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, ObjectCategory, Func(Of Furniture, Boolean), Boolean, Boolean, Boolean)
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- fullName.vb: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo, TinyLife.Objects.ObjectCategory, System.Func(Of TinyLife.Objects.Furniture, System.Boolean), System.Boolean, System.Boolean)
- name.vb: IsHoldingOrValidParent(ActionInfo, ObjectCategory, Func(Of Furniture, Boolean), Boolean, Boolean)
-- uid: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)
- commentId: M:TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)
- id: IsHoldingOrValidParent(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean)
+ fullName.vb: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, TinyLife.Objects.ObjectCategory, System.Func(Of TinyLife.Objects.Furniture, System.Boolean), System.Boolean, System.Boolean, System.Boolean)
+ name.vb: CanPickUpOrIsHoldingForTarget(ActionInfo, ObjectCategory, Func(Of Furniture, Boolean), Boolean, Boolean, Boolean)
+- uid: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)
+ commentId: M:TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)
+ id: CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{System.ValueTuple{TinyLife.Objects.Furniture,TinyLife.Objects.Furniture},System.Boolean},System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Boolean,System.Boolean,System.Boolean)
parent: TinyLife.Actions.ActionType
langs:
- csharp
- vb
- name: IsHoldingOrValidParent(ActionInfo, Func<(Furniture Parent, Furniture Item), Boolean>, Func, Boolean, Boolean)
- nameWithType: ActionType.IsHoldingOrValidParent(ActionInfo, Func<(Furniture Parent, Furniture Item), Boolean>, Func, Boolean, Boolean)
- fullName: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo, System.Func, System.Boolean>, System.Func, System.Boolean, System.Boolean)
+ name: CanPickUpOrIsHoldingForTarget(ActionInfo, Func<(Furniture Parent, Furniture Item), Boolean>, Func, Boolean, Boolean, Boolean)
+ nameWithType: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, Func<(Furniture Parent, Furniture Item), Boolean>, Func, Boolean, Boolean, Boolean)
+ fullName: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, System.Func, System.Boolean>, System.Func, System.Boolean, System.Boolean, System.Boolean)
type: Method
source:
remote:
path: TinyLife/Actions/ActionType.Utilities.cs
branch: master
repo: https://git.ellpeck.de/Ellpeck/TinyLife
- id: IsHoldingOrValidParent
+ id: CanPickUpOrIsHoldingForTarget
path: Actions/ActionType.Utilities.cs
startLine: 50
assemblies:
@@ -5355,7 +5538,7 @@ items:
summary: "\nA helper method intended to be used with that returns in the following cases:\n- The held object
isAllowed
and the action object matches the isParentAllowed
condition - The held object is null and the action objectt
isAllowed
\nThis helper method is useful in cases like , where the action should be allowed if the person is holding a food plate and clicking a chair, or if a person is clicking the food plate itself.\n"
example: []
syntax:
- content: public static ActionType.CanExecuteResult IsHoldingOrValidParent(ActionInfo info, Func<(Furniture Parent, Furniture Item), bool> isParentAllowed, Func isAllowed, bool parentHasToExist = false, bool allowAnyInvolved = false)
+ content: public static ActionType.CanExecuteResult CanPickUpOrIsHoldingForTarget(ActionInfo info, Func<(Furniture Parent, Furniture Item), bool> isParentAllowed, Func isAllowed, bool parentHasToExist = false, bool allowAnyInvolved = false, bool needsObjectSpot = false)
parameters:
- id: info
type: TinyLife.Actions.ActionInfo
@@ -5372,20 +5555,68 @@ items:
- id: allowAnyInvolved
type: System.Boolean
description: Whether any should be passed to isAllowed
, instead of just the action object
+ - id: needsObjectSpot
+ type: System.Boolean
return:
type: TinyLife.Actions.ActionType.CanExecuteResult
description: A result that represents the validity of the action
- content.vb: Public Shared Function IsHoldingOrValidParent(info As ActionInfo, isParentAllowed As Func(Of(Parent As Furniture, Item As Furniture)(Of Furniture , Furniture), Boolean), isAllowed As Func(Of Furniture, Boolean), parentHasToExist As Boolean = False, allowAnyInvolved As Boolean = False) As ActionType.CanExecuteResult
- overload: TinyLife.Actions.ActionType.IsHoldingOrValidParent*
- nameWithType.vb: ActionType.IsHoldingOrValidParent(ActionInfo, Func(Of (Parent As Furniture, Item As Furniture)(Of Furniture, Furniture), Boolean), Func(Of Furniture, Boolean), Boolean, Boolean)
+ content.vb: Public Shared Function CanPickUpOrIsHoldingForTarget(info As ActionInfo, isParentAllowed As Func(Of(Parent As Furniture, Item As Furniture)(Of Furniture , Furniture), Boolean), isAllowed As Func(Of Furniture, Boolean), parentHasToExist As Boolean = False, allowAnyInvolved As Boolean = False, needsObjectSpot As Boolean = False) As ActionType.CanExecuteResult
+ overload: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget*
+ nameWithType.vb: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, Func(Of (Parent As Furniture, Item As Furniture)(Of Furniture, Furniture), Boolean), Func(Of Furniture, Boolean), Boolean, Boolean, Boolean)
modifiers.csharp:
- public
- static
modifiers.vb:
- Public
- Shared
- fullName.vb: TinyLife.Actions.ActionType.IsHoldingOrValidParent(TinyLife.Actions.ActionInfo, System.Func(Of System.ValueTuple(Of TinyLife.Objects.Furniture, TinyLife.Objects.Furniture), System.Boolean), System.Func(Of TinyLife.Objects.Furniture, System.Boolean), System.Boolean, System.Boolean)
- name.vb: IsHoldingOrValidParent(ActionInfo, Func(Of (Parent As Furniture, Item As Furniture)(Of Furniture, Furniture), Boolean), Func(Of Furniture, Boolean), Boolean, Boolean)
+ fullName.vb: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, System.Func(Of System.ValueTuple(Of TinyLife.Objects.Furniture, TinyLife.Objects.Furniture), System.Boolean), System.Func(Of TinyLife.Objects.Furniture, System.Boolean), System.Boolean, System.Boolean, System.Boolean)
+ name.vb: CanPickUpOrIsHoldingForTarget(ActionInfo, Func(Of (Parent As Furniture, Item As Furniture)(Of Furniture, Furniture), Boolean), Func(Of Furniture, Boolean), Boolean, Boolean, Boolean)
+- uid: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean},System.Boolean)
+ commentId: M:TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean},System.Boolean)
+ id: CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo,System.Func{TinyLife.Objects.Furniture,System.Boolean},System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean},System.Boolean)
+ parent: TinyLife.Actions.ActionType
+ langs:
+ - csharp
+ - vb
+ name: CanPickUpOrIsHoldingForTarget(ActionInfo, Func, Func<(Person Person, Furniture Item), Boolean>, Boolean)
+ nameWithType: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, Func, Func<(Person Person, Furniture Item), Boolean>, Boolean)
+ fullName: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, System.Func, System.Func, System.Boolean>, System.Boolean)
+ type: Method
+ source:
+ remote:
+ path: TinyLife/Actions/ActionType.Utilities.cs
+ branch: master
+ repo: https://git.ellpeck.de/Ellpeck/TinyLife
+ id: CanPickUpOrIsHoldingForTarget
+ path: Actions/ActionType.Utilities.cs
+ startLine: 77
+ assemblies:
+ - Tiny Life
+ namespace: TinyLife.Actions
+ syntax:
+ content: public static ActionType.CanExecuteResult CanPickUpOrIsHoldingForTarget(ActionInfo info, Func isAllowed, Func<(Person Person, Furniture Item), bool> isPersonAllowed = null, bool allowAnyInvolved = false)
+ parameters:
+ - id: info
+ type: TinyLife.Actions.ActionInfo
+ - id: isAllowed
+ type: System.Func{TinyLife.Objects.Furniture,System.Boolean}
+ - id: isPersonAllowed
+ type: System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean}
+ - id: allowAnyInvolved
+ type: System.Boolean
+ return:
+ type: TinyLife.Actions.ActionType.CanExecuteResult
+ content.vb: Public Shared Function CanPickUpOrIsHoldingForTarget(info As ActionInfo, isAllowed As Func(Of Furniture, Boolean), isPersonAllowed As Func(Of(Person As Person, Item As Furniture)(Of Person , Furniture), Boolean) = Nothing, allowAnyInvolved As Boolean = False) As ActionType.CanExecuteResult
+ overload: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget*
+ nameWithType.vb: ActionType.CanPickUpOrIsHoldingForTarget(ActionInfo, Func(Of Furniture, Boolean), Func(Of (Person As Person, Item As Furniture)(Of Person, Furniture), Boolean), Boolean)
+ modifiers.csharp:
+ - public
+ - static
+ modifiers.vb:
+ - Public
+ - Shared
+ fullName.vb: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget(TinyLife.Actions.ActionInfo, System.Func(Of TinyLife.Objects.Furniture, System.Boolean), System.Func(Of System.ValueTuple(Of TinyLife.Objects.Person, TinyLife.Objects.Furniture), System.Boolean), System.Boolean)
+ name.vb: CanPickUpOrIsHoldingForTarget(ActionInfo, Func(Of Furniture, Boolean), Func(Of (Person As Person, Item As Furniture)(Of Person, Furniture), Boolean), Boolean)
- uid: TinyLife.Actions.ActionType.CanPlaceHeldItem(TinyLife.Actions.ActionInfo,System.Boolean)
commentId: M:TinyLife.Actions.ActionType.CanPlaceHeldItem(TinyLife.Actions.ActionInfo,System.Boolean)
id: CanPlaceHeldItem(TinyLife.Actions.ActionInfo,System.Boolean)
@@ -5404,7 +5635,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanPlaceHeldItem
path: Actions/ActionType.Utilities.cs
- startLine: 76
+ startLine: 105
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5448,7 +5679,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: HasChairOrIsStandingDesk
path: Actions/ActionType.Utilities.cs
- startLine: 97
+ startLine: 126
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5492,7 +5723,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsDislikedOrMean
path: Actions/ActionType.Utilities.cs
- startLine: 113
+ startLine: 142
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5536,7 +5767,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsReadyForRomance
path: Actions/ActionType.Utilities.cs
- startLine: 131
+ startLine: 160
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5580,7 +5811,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsComfortable
path: Actions/ActionType.Utilities.cs
- startLine: 158
+ startLine: 187
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5624,7 +5855,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsNotUncomfortable
path: Actions/ActionType.Utilities.cs
- startLine: 169
+ startLine: 198
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5668,7 +5899,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsNotEmbarrassed
path: Actions/ActionType.Utilities.cs
- startLine: 179
+ startLine: 208
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5712,7 +5943,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsEmptyHanded
path: Actions/ActionType.Utilities.cs
- startLine: 189
+ startLine: 218
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5756,7 +5987,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsFunctional
path: Actions/ActionType.Utilities.cs
- startLine: 199
+ startLine: 228
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5800,7 +6031,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanWorkAtDeskObject
path: Actions/ActionType.Utilities.cs
- startLine: 216
+ startLine: 245
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5844,11 +6075,11 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsNotExpired
path: Actions/ActionType.Utilities.cs
- startLine: 226
+ startLine: 255
assemblies:
- Tiny Life
namespace: TinyLife.Actions
- summary: "\nA helper method intended to be used with that determines whether the action object is expired, and returns if it is\n"
+ summary: "\nA helper method intended to be used with that determines whether the action object or any involved objects are expired, and returns if it is\n"
example: []
syntax:
content: public static ActionType.CanExecuteResult IsNotExpired(ActionInfo info, bool automatic)
@@ -5888,7 +6119,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanDoImportantAction
path: Actions/ActionType.Utilities.cs
- startLine: 238
+ startLine: 266
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5932,7 +6163,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AreDating
path: Actions/ActionType.Utilities.cs
- startLine: 248
+ startLine: 276
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -5976,7 +6207,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanExecuteAll
path: Actions/ActionType.Utilities.cs
- startLine: 265
+ startLine: 293
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -6026,7 +6257,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanBeSexual
path: Actions/ActionType.Utilities.cs
- startLine: 281
+ startLine: 309
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -6070,7 +6301,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSkillPriorityMod
path: Actions/ActionType.Utilities.cs
- startLine: 295
+ startLine: 323
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -7158,11 +7389,11 @@ references:
- uid: TinyLife.Actions.ActionInfo.GetInvolvedObjects``1(TinyLife.Objects.ObjectCategory,System.Boolean)
commentId: M:TinyLife.Actions.ActionInfo.GetInvolvedObjects``1(TinyLife.Objects.ObjectCategory,System.Boolean)
isExternal: true
-- uid: TinyLife.Actions.ActionType.IsHoldingOrValidParent*
- commentId: Overload:TinyLife.Actions.ActionType.IsHoldingOrValidParent
- name: IsHoldingOrValidParent
- nameWithType: ActionType.IsHoldingOrValidParent
- fullName: TinyLife.Actions.ActionType.IsHoldingOrValidParent
+- uid: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget*
+ commentId: Overload:TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget
+ name: CanPickUpOrIsHoldingForTarget
+ nameWithType: ActionType.CanPickUpOrIsHoldingForTarget
+ fullName: TinyLife.Actions.ActionType.CanPickUpOrIsHoldingForTarget
- uid: TinyLife.Objects.ObjectCategory
commentId: T:TinyLife.Objects.ObjectCategory
parent: TinyLife.Objects
@@ -7388,6 +7619,100 @@ references:
- name: )
nameWithType: )
fullName: )
+- uid: System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean}
+ commentId: T:System.Func{System.ValueTuple{TinyLife.Objects.Person,TinyLife.Objects.Furniture},System.Boolean}
+ parent: System
+ definition: System.Func`2
+ name: Func<(T1, T2), Boolean>
+ nameWithType: Func<(T1, T2), Boolean>
+ fullName: System.Func, System.Boolean>
+ nameWithType.vb: Func(Of (T1, T2)(Of Person, Furniture), Boolean)
+ fullName.vb: System.Func(Of System.ValueTuple(Of TinyLife.Objects.Person, TinyLife.Objects.Furniture), System.Boolean)
+ name.vb: Func(Of (T1, T2)(Of Person, Furniture), Boolean)
+ spec.csharp:
+ - uid: System.Func`2
+ name: Func
+ nameWithType: Func
+ fullName: System.Func
+ isExternal: true
+ - name: <
+ nameWithType: <
+ fullName: <
+ - uid: System.ValueTuple`2
+ name: (T1, T2)
+ nameWithType: (T1, T2)
+ fullName: System.ValueTuple
+ isExternal: true
+ - name: <
+ nameWithType: <
+ fullName: <
+ - uid: TinyLife.Objects.Person
+ name: Person
+ nameWithType: Person
+ fullName: TinyLife.Objects.Person
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
+ - uid: TinyLife.Objects.Furniture
+ name: Furniture
+ nameWithType: Furniture
+ fullName: TinyLife.Objects.Furniture
+ - name: '>'
+ nameWithType: '>'
+ fullName: '>'
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
+ - uid: System.Boolean
+ name: Boolean
+ nameWithType: Boolean
+ fullName: System.Boolean
+ isExternal: true
+ - name: '>'
+ nameWithType: '>'
+ fullName: '>'
+ spec.vb:
+ - uid: System.Func`2
+ name: Func
+ nameWithType: Func
+ fullName: System.Func
+ isExternal: true
+ - name: '(Of '
+ nameWithType: '(Of '
+ fullName: '(Of '
+ - uid: System.ValueTuple`2
+ name: (T1, T2)
+ nameWithType: (T1, T2)
+ fullName: System.ValueTuple
+ isExternal: true
+ - name: '(Of '
+ nameWithType: '(Of '
+ fullName: '(Of '
+ - uid: TinyLife.Objects.Person
+ name: Person
+ nameWithType: Person
+ fullName: TinyLife.Objects.Person
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
+ - uid: TinyLife.Objects.Furniture
+ name: Furniture
+ nameWithType: Furniture
+ fullName: TinyLife.Objects.Furniture
+ - name: )
+ nameWithType: )
+ fullName: )
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
+ - uid: System.Boolean
+ name: Boolean
+ nameWithType: Boolean
+ fullName: System.Boolean
+ isExternal: true
+ - name: )
+ nameWithType: )
+ fullName: )
- uid: TinyLife.Actions.ActionType.CanExecuteResult.Hidden
commentId: F:TinyLife.Actions.ActionType.CanExecuteResult.Hidden
isExternal: true
diff --git a/docs/api/TinyLife.Actions.ActionVariety.yml b/docs/api/TinyLife.Actions.ActionVariety.yml
index 6a9a715..d789e40 100644
--- a/docs/api/TinyLife.Actions.ActionVariety.yml
+++ b/docs/api/TinyLife.Actions.ActionVariety.yml
@@ -11,6 +11,7 @@ items:
- TinyLife.Actions.ActionVariety.CustomLayout
- TinyLife.Actions.ActionVariety.Description
- TinyLife.Actions.ActionVariety.DisplayName
+ - TinyLife.Actions.ActionVariety.FreePeople(TinyLife.Actions.ActionInfo)
- TinyLife.Actions.ActionVariety.GetData``1(System.String)
- TinyLife.Actions.ActionVariety.GetDataKeys
- TinyLife.Actions.ActionVariety.GetDisplayName
@@ -34,7 +35,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ActionVariety
path: Actions/ActionVariety.cs
- startLine: 17
+ startLine: 18
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -44,7 +45,6 @@ items:
content: 'public struct ActionVariety : IGenericDataHolder'
content.vb: >-
Public Structure ActionVariety
-
Implements IGenericDataHolder
implements:
- MLEM.Misc.IGenericDataHolder
@@ -81,7 +81,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Name
path: Actions/ActionVariety.cs
- startLine: 22
+ startLine: 23
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -114,7 +114,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PassivePriority
path: Actions/ActionVariety.cs
- startLine: 28
+ startLine: 29
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -147,7 +147,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanExecute
path: Actions/ActionVariety.cs
- startLine: 34
+ startLine: 35
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -180,7 +180,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: DisplayName
path: Actions/ActionVariety.cs
- startLine: 39
+ startLine: 40
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -213,7 +213,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Description
path: Actions/ActionVariety.cs
- startLine: 44
+ startLine: 45
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -246,7 +246,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CustomLayout
path: Actions/ActionVariety.cs
- startLine: 50
+ startLine: 51
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -279,7 +279,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: .ctor
path: Actions/ActionVariety.cs
- startLine: 58
+ startLine: 59
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -315,7 +315,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDisplayName
path: Actions/ActionVariety.cs
- startLine: 66
+ startLine: 67
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -350,7 +350,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanBeExecuted
path: Actions/ActionVariety.cs
- startLine: 77
+ startLine: 78
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -392,7 +392,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetPassivePriority
path: Actions/ActionVariety.cs
- startLine: 93
+ startLine: 94
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -431,7 +431,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SetData
path: Actions/ActionVariety.cs
- startLine: 98
+ startLine: 99
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -469,7 +469,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetData
path: Actions/ActionVariety.cs
- startLine: 104
+ startLine: 105
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -512,7 +512,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetDataKeys
path: Actions/ActionVariety.cs
- startLine: 109
+ startLine: 110
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -529,6 +529,43 @@ items:
- public
modifiers.vb:
- Public
+- uid: TinyLife.Actions.ActionVariety.FreePeople(TinyLife.Actions.ActionInfo)
+ commentId: M:TinyLife.Actions.ActionVariety.FreePeople(TinyLife.Actions.ActionInfo)
+ id: FreePeople(TinyLife.Actions.ActionInfo)
+ parent: TinyLife.Actions.ActionVariety
+ langs:
+ - csharp
+ - vb
+ name: FreePeople(ActionInfo)
+ nameWithType: ActionVariety.FreePeople(ActionInfo)
+ fullName: TinyLife.Actions.ActionVariety.FreePeople(TinyLife.Actions.ActionInfo)
+ type: Method
+ source:
+ remote:
+ path: TinyLife/Actions/ActionVariety.cs
+ branch: master
+ repo: https://git.ellpeck.de/Ellpeck/TinyLife
+ id: FreePeople
+ path: Actions/ActionVariety.cs
+ startLine: 116
+ assemblies:
+ - Tiny Life
+ namespace: TinyLife.Actions
+ syntax:
+ content: public static IEnumerable FreePeople(ActionInfo info)
+ parameters:
+ - id: info
+ type: TinyLife.Actions.ActionInfo
+ return:
+ type: System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionVariety}
+ content.vb: Public Shared Function FreePeople(info As ActionInfo) As IEnumerable(Of ActionVariety)
+ overload: TinyLife.Actions.ActionVariety.FreePeople*
+ modifiers.csharp:
+ - public
+ - static
+ modifiers.vb:
+ - Public
+ - Shared
- uid: TinyLife.Actions.ActionVariety.ImageLayout(System.Single,MLEM.Ui.Elements.Element.DrawCallback,MLEM.Misc.Padding)
commentId: M:TinyLife.Actions.ActionVariety.ImageLayout(System.Single,MLEM.Ui.Elements.Element.DrawCallback,MLEM.Misc.Padding)
id: ImageLayout(System.Single,MLEM.Ui.Elements.Element.DrawCallback,MLEM.Misc.Padding)
@@ -547,7 +584,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: ImageLayout
path: Actions/ActionVariety.cs
- startLine: 123
+ startLine: 138
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -594,7 +631,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PortraitLayout
path: Actions/ActionVariety.cs
- startLine: 142
+ startLine: 157
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -1626,6 +1663,92 @@ references:
name: System.Collections.Generic
nameWithType: System.Collections.Generic
fullName: System.Collections.Generic
+- uid: TinyLife.Actions.ActionVariety.FreePeople*
+ commentId: Overload:TinyLife.Actions.ActionVariety.FreePeople
+ name: FreePeople
+ nameWithType: ActionVariety.FreePeople
+ fullName: TinyLife.Actions.ActionVariety.FreePeople
+- uid: System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionVariety}
+ commentId: T:System.Collections.Generic.IEnumerable{TinyLife.Actions.ActionVariety}
+ parent: System.Collections.Generic
+ definition: System.Collections.Generic.IEnumerable`1
+ name: IEnumerable
+ nameWithType: IEnumerable
+ fullName: System.Collections.Generic.IEnumerable
+ nameWithType.vb: IEnumerable(Of ActionVariety)
+ fullName.vb: System.Collections.Generic.IEnumerable(Of TinyLife.Actions.ActionVariety)
+ name.vb: IEnumerable(Of ActionVariety)
+ spec.csharp:
+ - uid: System.Collections.Generic.IEnumerable`1
+ name: IEnumerable
+ nameWithType: IEnumerable
+ fullName: System.Collections.Generic.IEnumerable
+ isExternal: true
+ - name: <
+ nameWithType: <
+ fullName: <
+ - uid: TinyLife.Actions.ActionVariety
+ name: ActionVariety
+ nameWithType: ActionVariety
+ fullName: TinyLife.Actions.ActionVariety
+ - name: '>'
+ nameWithType: '>'
+ fullName: '>'
+ spec.vb:
+ - uid: System.Collections.Generic.IEnumerable`1
+ name: IEnumerable
+ nameWithType: IEnumerable
+ fullName: System.Collections.Generic.IEnumerable
+ isExternal: true
+ - name: '(Of '
+ nameWithType: '(Of '
+ fullName: '(Of '
+ - uid: TinyLife.Actions.ActionVariety
+ name: ActionVariety
+ nameWithType: ActionVariety
+ fullName: TinyLife.Actions.ActionVariety
+ - name: )
+ nameWithType: )
+ fullName: )
+- uid: System.Collections.Generic.IEnumerable`1
+ commentId: T:System.Collections.Generic.IEnumerable`1
+ isExternal: true
+ name: IEnumerable
+ nameWithType: IEnumerable
+ fullName: System.Collections.Generic.IEnumerable
+ nameWithType.vb: IEnumerable(Of T)
+ fullName.vb: System.Collections.Generic.IEnumerable(Of T)
+ name.vb: IEnumerable(Of T)
+ spec.csharp:
+ - uid: System.Collections.Generic.IEnumerable`1
+ name: IEnumerable
+ nameWithType: IEnumerable
+ fullName: System.Collections.Generic.IEnumerable
+ isExternal: true
+ - name: <
+ nameWithType: <
+ fullName: <
+ - name: T
+ nameWithType: T
+ fullName: T
+ - name: '>'
+ nameWithType: '>'
+ fullName: '>'
+ spec.vb:
+ - uid: System.Collections.Generic.IEnumerable`1
+ name: IEnumerable
+ nameWithType: IEnumerable
+ fullName: System.Collections.Generic.IEnumerable
+ isExternal: true
+ - name: '(Of '
+ nameWithType: '(Of '
+ fullName: '(Of '
+ - name: T
+ nameWithType: T
+ fullName: T
+ - name: )
+ nameWithType: )
+ fullName: )
- uid: TinyLife.Actions.ActionVariety.CustomLayout
commentId: F:TinyLife.Actions.ActionVariety.CustomLayout
isExternal: true
diff --git a/docs/api/TinyLife.Actions.BehaviorAction-1.yml b/docs/api/TinyLife.Actions.BehaviorAction-1.yml
index ec1dc8d..c2f9a61 100644
--- a/docs/api/TinyLife.Actions.BehaviorAction-1.yml
+++ b/docs/api/TinyLife.Actions.BehaviorAction-1.yml
@@ -39,9 +39,7 @@ items:
description: The type of that this action uses
content.vb: >-
Public MustInherit Class BehaviorAction(Of T As ActionBehavior)
-
Inherits Action
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -84,7 +82,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -174,14 +172,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nCreates a new action from the given \n"
example: []
syntax:
content: protected BehaviorAction(ActionType type, ActionInfo info)
parameters:
- id: type
type: TinyLife.Actions.ActionType
+ description: The type to create this action from
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The information for this action
content.vb: Protected Sub New(type As ActionType, info As ActionInfo)
overload: TinyLife.Actions.BehaviorAction`1.#ctor*
nameWithType.vb: BehaviorAction(Of T).BehaviorAction(ActionType, ActionInfo)
@@ -212,6 +213,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n"
example: []
syntax:
content: public override void Initialize()
@@ -248,16 +250,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n"
example: []
syntax:
content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The current game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed, in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.Action.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.BehaviorAction`1.Update*
@@ -291,11 +297,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns the map object that is displayed in the action queue in the top left of the screen.\nNote that this value is ignored if this action's type has a .\nBy default, the is returned.\n"
example: []
syntax:
content: public override MapObject GetIconObject()
return:
type: TinyLife.Objects.MapObject
+ description: The icon object
content.vb: Public Overrides Function GetIconObject As MapObject
overridden: TinyLife.Actions.Action.GetIconObject
overload: TinyLife.Actions.BehaviorAction`1.GetIconObject*
@@ -329,12 +337,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n"
example: []
syntax:
content: public override void OnCompleted(CompletionType type)
parameters:
- id: type
type: TinyLife.Actions.CompletionType
+ description: The type that this action completed with
content.vb: Public Overrides Sub OnCompleted(type As CompletionType)
overridden: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.BehaviorAction`1.OnCompleted*
@@ -368,14 +378,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns an action that should be queued up immediately after this action completes.\nThe queued up action is immediately started in the slot that this action occupied.\nCan be null, and is null by default.\n"
example: []
syntax:
content: public override Action GetNextAction(CompletionType completion)
parameters:
- id: completion
type: TinyLife.Actions.CompletionType
+ description: The type that this action completed with
return:
type: TinyLife.Actions.Action
+ description: The follow-up action
content.vb: Public Overrides Function GetNextAction(completion As CompletionType) As Action
overridden: TinyLife.Actions.Action.GetNextAction(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.BehaviorAction`1.GetNextAction*
@@ -1926,31 +1939,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -1958,6 +1964,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2005,20 +2018,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2026,6 +2032,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.BehaviorMultiAction-1.yml b/docs/api/TinyLife.Actions.BehaviorMultiAction-1.yml
index 7f7f8fd..40bd26d 100644
--- a/docs/api/TinyLife.Actions.BehaviorMultiAction-1.yml
+++ b/docs/api/TinyLife.Actions.BehaviorMultiAction-1.yml
@@ -40,9 +40,7 @@ items:
description: The type of that this action uses
content.vb: >-
Public MustInherit Class BehaviorMultiAction(Of T As MultiActionBehavior)
-
Inherits MultiAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -94,7 +92,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -184,14 +182,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nCreates a new action from the given \n"
example: []
syntax:
content: protected BehaviorMultiAction(ActionType type, ActionInfo info)
parameters:
- id: type
type: TinyLife.Actions.ActionType
+ description: The type to create this action from
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The information for this action
content.vb: Protected Sub New(type As ActionType, info As ActionInfo)
overload: TinyLife.Actions.BehaviorMultiAction`1.#ctor*
nameWithType.vb: BehaviorMultiAction(Of T).BehaviorMultiAction(ActionType, ActionInfo)
@@ -222,11 +223,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n"
example: []
syntax:
content: protected override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Typeless.TypelessAction}
+ description: A set of actions that sohuld run before this action
content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of TypelessAction)
overridden: TinyLife.Actions.MultiAction.CreateFirstActions
overload: TinyLife.Actions.BehaviorMultiAction`1.CreateFirstActions*
@@ -260,6 +263,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nInitializes the main action.\nThis method is called after has all completed.\n"
example: []
syntax:
content: protected override void AndThenInitialize()
@@ -296,16 +300,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method is called every update frame while the main action is active.\nBy default, only is increased.\n"
example: []
syntax:
content: protected override void AndThenUpdate(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The current game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed, in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Protected Overrides Sub AndThenUpdate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.BehaviorMultiAction`1.AndThenUpdate*
@@ -339,11 +347,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns the map object that is displayed in the action queue in the top left of the screen.\nNote that this value is ignored if this action's type has a .\nBy default, the is returned.\n"
example: []
syntax:
content: public override MapObject GetIconObject()
return:
type: TinyLife.Objects.MapObject
+ description: The icon object
content.vb: Public Overrides Function GetIconObject As MapObject
overridden: TinyLife.Actions.Action.GetIconObject
overload: TinyLife.Actions.BehaviorMultiAction`1.GetIconObject*
@@ -377,12 +387,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method gets called when the main action completes.\n"
example: []
syntax:
content: protected override void AndThenOnCompleted(CompletionType type)
parameters:
- id: type
type: TinyLife.Actions.CompletionType
+ description: The completion of the main action
content.vb: Protected Overrides Sub AndThenOnCompleted(type As CompletionType)
overridden: TinyLife.Actions.MultiAction.AndThenOnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.BehaviorMultiAction`1.AndThenOnCompleted*
@@ -416,14 +428,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns an action that should be queued up immediately after this action completes.\nThe queued up action is immediately started in the slot that this action occupied.\nCan be null, and is null by default.\n"
example: []
syntax:
content: public override Action GetNextAction(CompletionType completion)
parameters:
- id: completion
type: TinyLife.Actions.CompletionType
+ description: The type that this action completed with
return:
type: TinyLife.Actions.Action
+ description: The follow-up action
content.vb: Public Overrides Function GetNextAction(completion As CompletionType) As Action
overridden: TinyLife.Actions.Action.GetNextAction(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.BehaviorMultiAction`1.GetNextAction*
@@ -2224,31 +2239,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2256,6 +2264,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2303,20 +2318,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2324,6 +2332,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.Behaviors.ActionBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.ActionBehavior.yml
index 23522be..007a3e0 100644
--- a/docs/api/TinyLife.Actions.Behaviors.ActionBehavior.yml
+++ b/docs/api/TinyLife.Actions.Behaviors.ActionBehavior.yml
@@ -350,7 +350,6 @@ items:
syntax:
content: >-
public static T CreateDefaultInstance(Action action)
-
where T : ActionBehavior
parameters:
- id: action
diff --git a/docs/api/TinyLife.Actions.Behaviors.ComputerBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.ComputerBehavior.yml
index b9c57fd..5809640 100644
--- a/docs/api/TinyLife.Actions.Behaviors.ComputerBehavior.yml
+++ b/docs/api/TinyLife.Actions.Behaviors.ComputerBehavior.yml
@@ -33,7 +33,6 @@ items:
content: 'public class ComputerBehavior : WorkAtDeskObjectBehavior'
content.vb: >-
Public Class ComputerBehavior
-
Inherits WorkAtDeskObjectBehavior
inheritance:
- System.Object
@@ -119,6 +118,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nInitializes this action behavior.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override void Initialize()
@@ -153,16 +153,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nUpdates this action behavior every update frame.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed since the last update frame
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.Behaviors.ComputerBehavior.Update*
@@ -194,12 +198,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nCauses any activities that this action behavior executes to be marked as completed.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override void OnCompleted(CompletionType completion)
parameters:
- id: completion
type: TinyLife.Actions.CompletionType
+ description: ''
content.vb: Public Overrides Sub OnCompleted(completion As CompletionType)
overridden: TinyLife.Actions.Behaviors.ActionBehavior.OnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.Behaviors.ComputerBehavior.OnCompleted*
diff --git a/docs/api/TinyLife.Actions.Behaviors.GetAndSitDownBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.GetAndSitDownBehavior.yml
index 5d1a6fa..ba8d33a 100644
--- a/docs/api/TinyLife.Actions.Behaviors.GetAndSitDownBehavior.yml
+++ b/docs/api/TinyLife.Actions.Behaviors.GetAndSitDownBehavior.yml
@@ -37,7 +37,6 @@ items:
content: 'public class GetAndSitDownBehavior : MultiActionBehavior'
content.vb: >-
Public Class GetAndSitDownBehavior
-
Inherits MultiActionBehavior
inheritance:
- System.Object
@@ -132,11 +131,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nCreates a set of actions that should be executed before the main starts.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action}
+ description: ''
content.vb: Public Overrides Function CreateFirstActions As IEnumerable(Of Action)
overridden: TinyLife.Actions.Behaviors.MultiActionBehavior.CreateFirstActions
overload: TinyLife.Actions.Behaviors.GetAndSitDownBehavior.CreateFirstActions*
@@ -168,6 +169,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nInitializes this action behavior.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override void Initialize()
@@ -202,16 +204,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nUpdates this action behavior every update frame.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed since the last update frame
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.Behaviors.ActionBehavior.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.Behaviors.GetAndSitDownBehavior.Update*
@@ -243,11 +249,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nReturns this action behavior's icon object.\nThis method is automatically called when using in .\nBy default, this method returns the underlying 's .\n"
example: []
syntax:
content: public override MapObject GetIconObject()
return:
type: TinyLife.Objects.MapObject
+ description: The icon object
content.vb: Public Overrides Function GetIconObject As MapObject
overridden: TinyLife.Actions.Behaviors.ActionBehavior.GetIconObject
overload: TinyLife.Actions.Behaviors.GetAndSitDownBehavior.GetIconObject*
@@ -279,14 +287,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nReturns the action that should be executed after this action behavior's underlying completes.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override Action GetNextAction(CompletionType completion)
parameters:
- id: completion
type: TinyLife.Actions.CompletionType
+ description: The underlying action's completion type
return:
type: TinyLife.Actions.Action
+ description: The action that should be executed next, or null
content.vb: Public Overrides Function GetNextAction(completion As CompletionType) As Action
overridden: TinyLife.Actions.Behaviors.ActionBehavior.GetNextAction(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.Behaviors.GetAndSitDownBehavior.GetNextAction*
@@ -323,7 +334,6 @@ items:
syntax:
content: >-
public T GetInteractingItem()
-
where T : Furniture
typeParameters:
- id: T
@@ -362,11 +372,11 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nA helper method that returns the item instance that is currently being interacted with in this action.\nSince this action type is rather complex, this is the favored way over .\n"
example: []
syntax:
content: >-
public static T GetInteractingItemForAction(ActionInfo info, params FurnitureType[] workItems)
-
where T : Furniture
parameters:
- id: info
@@ -375,8 +385,10 @@ items:
type: TinyLife.Objects.FurnitureType[]
typeParameters:
- id: T
+ description: The type that the object is expected to be
return:
type: '{T}'
+ description: The object, or null if there is none
content.vb: Public Shared Function GetInteractingItemForAction(Of T As Furniture)(info As ActionInfo, ParamArray workItems As FurnitureType()) As T
overload: TinyLife.Actions.Behaviors.GetAndSitDownBehavior.GetInteractingItemForAction*
nameWithType.vb: GetAndSitDownBehavior.GetInteractingItemForAction(Of T)(ActionInfo, FurnitureType())
diff --git a/docs/api/TinyLife.Actions.Behaviors.MultiActionBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.MultiActionBehavior.yml
index d2818d6..474a75c 100644
--- a/docs/api/TinyLife.Actions.Behaviors.MultiActionBehavior.yml
+++ b/docs/api/TinyLife.Actions.Behaviors.MultiActionBehavior.yml
@@ -31,7 +31,6 @@ items:
content: 'public abstract class MultiActionBehavior : ActionBehavior'
content.vb: >-
Public MustInherit Class MultiActionBehavior
-
Inherits ActionBehavior
inheritance:
- System.Object
@@ -87,12 +86,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nCreates a new action behavior with the given underlying action.\nTo create an action behavior of a given type automatically, use .\n"
example: []
syntax:
content: protected MultiActionBehavior(Action action)
parameters:
- id: action
type: TinyLife.Actions.Action
+ description: The action that this behavior is acting upon
content.vb: Protected Sub New(action As Action)
overload: TinyLife.Actions.Behaviors.MultiActionBehavior.#ctor*
modifiers.csharp:
diff --git a/docs/api/TinyLife.Actions.Behaviors.SinkBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.SinkBehavior.yml
index 082a846..2ab3da5 100644
--- a/docs/api/TinyLife.Actions.Behaviors.SinkBehavior.yml
+++ b/docs/api/TinyLife.Actions.Behaviors.SinkBehavior.yml
@@ -33,7 +33,6 @@ items:
content: 'public class SinkBehavior : MultiActionBehavior'
content.vb: >-
Public Class SinkBehavior
-
Inherits MultiActionBehavior
inheritance:
- System.Object
@@ -82,12 +81,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nCreates a new action behavior with the given underlying action.\nTo create an action behavior of a given type automatically, use .\n"
example: []
syntax:
content: public SinkBehavior(Action action)
parameters:
- id: action
type: TinyLife.Actions.Action
+ description: The action that this behavior is acting upon
content.vb: Public Sub New(action As Action)
overload: TinyLife.Actions.Behaviors.SinkBehavior.#ctor*
modifiers.csharp:
@@ -116,11 +117,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nCreates a set of actions that should be executed before the main starts.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action}
+ description: ''
content.vb: Public Overrides Function CreateFirstActions As IEnumerable(Of Action)
overridden: TinyLife.Actions.Behaviors.MultiActionBehavior.CreateFirstActions
overload: TinyLife.Actions.Behaviors.SinkBehavior.CreateFirstActions*
@@ -152,16 +155,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nUpdates this action behavior every update frame.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed since the last update frame
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.Behaviors.ActionBehavior.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.Behaviors.SinkBehavior.Update*
@@ -189,16 +196,18 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnCompleted
path: Actions/Behaviors/SinkBehavior.cs
- startLine: 42
+ startLine: 43
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nCauses any activities that this action behavior executes to be marked as completed.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override void OnCompleted(CompletionType completion)
parameters:
- id: completion
type: TinyLife.Actions.CompletionType
+ description: ''
content.vb: Public Overrides Sub OnCompleted(completion As CompletionType)
overridden: TinyLife.Actions.Behaviors.ActionBehavior.OnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.Behaviors.SinkBehavior.OnCompleted*
diff --git a/docs/api/TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.yml b/docs/api/TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.yml
index 57c08dd..d5243d6 100644
--- a/docs/api/TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.yml
+++ b/docs/api/TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.yml
@@ -33,7 +33,6 @@ items:
content: 'public class WorkAtDeskObjectBehavior : MultiActionBehavior'
content.vb: >-
Public Class WorkAtDeskObjectBehavior
-
Inherits MultiActionBehavior
inheritance:
- System.Object
@@ -84,12 +83,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nCreates a new action behavior with the given underlying action.\nTo create an action behavior of a given type automatically, use .\n"
example: []
syntax:
content: public WorkAtDeskObjectBehavior(Action action)
parameters:
- id: action
type: TinyLife.Actions.Action
+ description: The action that this behavior is acting upon
content.vb: Public Sub New(action As Action)
overload: TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.#ctor*
modifiers.csharp:
@@ -118,11 +119,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nCreates a set of actions that should be executed before the main starts.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action}
+ description: ''
content.vb: Public Overrides Function CreateFirstActions As IEnumerable(Of Action)
overridden: TinyLife.Actions.Behaviors.MultiActionBehavior.CreateFirstActions
overload: TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.CreateFirstActions*
@@ -154,16 +157,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nUpdates this action behavior every update frame.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed since the last update frame
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.Behaviors.ActionBehavior.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.Update*
@@ -195,14 +202,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Behaviors
+ summary: "\nReturns the action that should be executed after this action behavior's underlying completes.\nThis method is automatically called when using in .\n"
example: []
syntax:
content: public override Action GetNextAction(CompletionType completion)
parameters:
- id: completion
type: TinyLife.Actions.CompletionType
+ description: The underlying action's completion type
return:
type: TinyLife.Actions.Action
+ description: The action that should be executed next, or null
content.vb: Public Overrides Function GetNextAction(completion As CompletionType) As Action
overridden: TinyLife.Actions.Behaviors.ActionBehavior.GetNextAction(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.Behaviors.WorkAtDeskObjectBehavior.GetNextAction*
diff --git a/docs/api/TinyLife.Actions.DieAction.yml b/docs/api/TinyLife.Actions.DieAction.yml
index ec75dcd..54d6888 100644
--- a/docs/api/TinyLife.Actions.DieAction.yml
+++ b/docs/api/TinyLife.Actions.DieAction.yml
@@ -39,9 +39,7 @@ items:
content: 'public class DieAction : Action, IGenericDataHolder'
content.vb: >-
Public Class DieAction
-
Inherits Action
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -82,7 +80,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -171,14 +169,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nCreates a new action from the given \n"
example: []
syntax:
content: public DieAction(ActionType type, ActionInfo info)
parameters:
- id: type
type: TinyLife.Actions.ActionType
+ description: The type to create this action from
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The information for this action
content.vb: Public Sub New(type As ActionType, info As ActionInfo)
overload: TinyLife.Actions.DieAction.#ctor*
modifiers.csharp:
@@ -207,6 +208,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n"
example: []
syntax:
content: public override void Initialize()
@@ -241,11 +243,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns a localized string that explains this action in short.\nBy default, this method returns .\n"
example: []
syntax:
content: public override string GetDisplayName()
return:
type: System.String
+ description: This action's display name
content.vb: Public Overrides Function GetDisplayName As String
overridden: TinyLife.Actions.Action.GetDisplayName
overload: TinyLife.Actions.DieAction.GetDisplayName*
@@ -277,14 +281,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns whether or not this action can be canceled by the given outside source.\nNote that the outside source can be null, and if it is, it means that the player canceled the action manually.\nBy default, actions can only be canceled if the cancelSource
is null.\n"
example: []
syntax:
content: public override bool CanCancel(Action cancelSource)
parameters:
- id: cancelSource
type: TinyLife.Actions.Action
+ description: The source of the cancelation, or null if the player canceled it
return:
type: System.Boolean
+ description: true if the action can be canceled
content.vb: Public Overrides Function CanCancel(cancelSource As Action) As Boolean
overridden: TinyLife.Actions.Action.CanCancel(TinyLife.Actions.Action)
overload: TinyLife.Actions.DieAction.CanCancel*
@@ -316,16 +323,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns true if the given person
can (automatically) enqueue a social action with the that is executing this action.\nNote that enqueueing a social action manually is still possible even if this method returns false.\nBy default, only returns false on this method.\n"
example: []
syntax:
content: public override bool CanEnqueueConversation(Person person, ActionType type)
parameters:
- id: person
type: TinyLife.Objects.Person
+ description: The person that wants to converse with us.
- id: type
type: TinyLife.Actions.ActionType
+ description: The type of action that should be enqueued. Might be null, in which case a generic or unknown action is querying this function.
return:
type: System.Boolean
+ description: Whether or not enqueueing a social action is possible.
content.vb: Public Overrides Function CanEnqueueConversation(person As Person, type As ActionType) As Boolean
overridden: TinyLife.Actions.Action.CanEnqueueConversation(TinyLife.Objects.Person,TinyLife.Actions.ActionType)
overload: TinyLife.Actions.DieAction.CanEnqueueConversation*
@@ -357,16 +368,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n"
example: []
syntax:
content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The current game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed, in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.Action.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.DieAction.Update*
@@ -398,11 +413,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called every update frame by a if this action is currently active to check if it should be stopped.\nIf this returns a result other than , will be called and the action is stopped.\nBy default, only modifies the completion type, otherwise is returned.\n"
example: []
syntax:
content: public override CompletionType IsCompleted()
return:
type: TinyLife.Actions.CompletionType
+ description: The current completion type of this action
content.vb: Public Overrides Function IsCompleted As CompletionType
overridden: TinyLife.Actions.Typeless.TypelessAction.IsCompleted
overload: TinyLife.Actions.DieAction.IsCompleted*
@@ -434,12 +451,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n"
example: []
syntax:
content: public override void OnCompleted(CompletionType type)
parameters:
- id: type
type: TinyLife.Actions.CompletionType
+ description: The type that this action completed with
content.vb: Public Overrides Sub OnCompleted(type As CompletionType)
overridden: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.DieAction.OnCompleted*
@@ -1960,31 +1979,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -1992,6 +2004,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2039,20 +2058,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2060,6 +2072,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.GoHereAction.yml b/docs/api/TinyLife.Actions.GoHereAction.yml
index 41a9050..c1af090 100644
--- a/docs/api/TinyLife.Actions.GoHereAction.yml
+++ b/docs/api/TinyLife.Actions.GoHereAction.yml
@@ -34,9 +34,7 @@ items:
content: 'public class GoHereAction : MultiAction, IGenericDataHolder'
content.vb: >-
Public Class GoHereAction
-
Inherits MultiAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -90,7 +88,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -136,14 +134,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nCreates a new action from the given \n"
example: []
syntax:
content: public GoHereAction(ActionType type, ActionInfo info)
parameters:
- id: type
type: TinyLife.Actions.ActionType
+ description: The type to create this action from
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The information for this action
content.vb: Public Sub New(type As ActionType, info As ActionInfo)
overload: TinyLife.Actions.GoHereAction.#ctor*
modifiers.csharp:
@@ -172,11 +173,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n"
example: []
syntax:
content: protected override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action}
+ description: A set of actions that sohuld run before this action
content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of Action)
overridden: TinyLife.Actions.MultiAction.CreateFirstActions
overload: TinyLife.Actions.GoHereAction.CreateFirstActions*
@@ -208,6 +211,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nInitializes the main action.\nThis method is called after has all completed.\n"
example: []
syntax:
content: protected override void AndThenInitialize()
@@ -242,11 +246,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n"
example: []
syntax:
content: protected override CompletionType AndThenIsCompleted()
return:
type: TinyLife.Actions.CompletionType
+ description: Whether the main action is completed
content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType
overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted
overload: TinyLife.Actions.GoHereAction.AndThenIsCompleted*
@@ -278,14 +284,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns whether or not this action can be canceled by the given outside source.\nNote that the outside source can be null, and if it is, it means that the player canceled the action manually.\nBy default, actions can only be canceled if the cancelSource
is null.\n"
example: []
syntax:
content: public override bool CanCancel(Action cancelSource)
parameters:
- id: cancelSource
type: TinyLife.Actions.Action
+ description: The source of the cancelation, or null if the player canceled it
return:
type: System.Boolean
+ description: true if the action can be canceled
content.vb: Public Overrides Function CanCancel(cancelSource As Action) As Boolean
overridden: TinyLife.Actions.MultiAction.CanCancel(TinyLife.Actions.Action)
overload: TinyLife.Actions.GoHereAction.CanCancel*
@@ -2180,31 +2189,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2212,6 +2214,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2259,20 +2268,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2280,6 +2282,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.MultiAction.yml b/docs/api/TinyLife.Actions.MultiAction.yml
index 3c4de4d..0cbe65e 100644
--- a/docs/api/TinyLife.Actions.MultiAction.yml
+++ b/docs/api/TinyLife.Actions.MultiAction.yml
@@ -46,9 +46,7 @@ items:
content: 'public abstract class MultiAction : Action, IGenericDataHolder'
content.vb: >-
Public MustInherit Class MultiAction
-
Inherits Action
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -100,7 +98,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -242,12 +240,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nRepresents the amount of time that this action has "properly" been in progress for.\nThis is used by and and returns true only once the first actions are completed or the conversation has started, respectively.\nBy default, is returned.\n"
example: []
syntax:
content: public override TimeSpan InProgressTime { get; }
parameters: []
return:
type: System.TimeSpan
+ description: The amount of time that this action has properly been in progress for
content.vb: Public Overrides ReadOnly Property InProgressTime As TimeSpan
overridden: TinyLife.Actions.Typeless.TypelessAction.InProgressTime
overload: TinyLife.Actions.MultiAction.InProgressTime*
@@ -281,14 +281,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nCreates a new action from the given \n"
example: []
syntax:
content: public MultiAction(ActionType type, ActionInfo info)
parameters:
- id: type
type: TinyLife.Actions.ActionType
+ description: The type to create this action from
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The information for this action
content.vb: Public Sub New(type As ActionType, info As ActionInfo)
overload: TinyLife.Actions.MultiAction.#ctor*
modifiers.csharp:
@@ -541,16 +544,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n"
example: []
syntax:
content: public sealed override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The current game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed, in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Public NotOverridable Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.Action.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.MultiAction.Update*
@@ -584,6 +591,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n"
example: []
syntax:
content: public sealed override void Initialize()
@@ -620,11 +628,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called every update frame by a if this action is currently active to check if it should be stopped.\nIf this returns a result other than , will be called and the action is stopped.\nBy default, only modifies the completion type, otherwise is returned.\n"
example: []
syntax:
content: public sealed override CompletionType IsCompleted()
return:
type: TinyLife.Actions.CompletionType
+ description: The current completion type of this action
content.vb: Public NotOverridable Overrides Function IsCompleted As CompletionType
overridden: TinyLife.Actions.Typeless.TypelessAction.IsCompleted
overload: TinyLife.Actions.MultiAction.IsCompleted*
@@ -658,12 +668,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n"
example: []
syntax:
content: public sealed override void OnCompleted(CompletionType type)
parameters:
- id: type
type: TinyLife.Actions.CompletionType
+ description: The type that this action completed with
content.vb: Public NotOverridable Overrides Sub OnCompleted(type As CompletionType)
overridden: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.MultiAction.OnCompleted*
@@ -697,14 +709,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nValidates this action's data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the .\n"
example: []
syntax:
content: public override bool Validate(Person person)
parameters:
- id: person
type: TinyLife.Objects.Person
+ description: The person that this action belongs to
return:
type: System.Boolean
+ description: Whether or not the action is still valid (or if it has invalid data)
content.vb: Public Overrides Function Validate(person As Person) As Boolean
overridden: TinyLife.Actions.Action.Validate(TinyLife.Objects.Person)
overload: TinyLife.Actions.MultiAction.Validate*
@@ -736,14 +751,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns whether or not this action can be canceled by the given outside source.\nNote that the outside source can be null, and if it is, it means that the player canceled the action manually.\nBy default, actions can only be canceled if the cancelSource
is null.\n"
example: []
syntax:
content: public override bool CanCancel(Action cancelSource)
parameters:
- id: cancelSource
type: TinyLife.Actions.Action
+ description: The source of the cancelation, or null if the player canceled it
return:
type: System.Boolean
+ description: true if the action can be canceled
content.vb: Public Overrides Function CanCancel(cancelSource As Action) As Boolean
overridden: TinyLife.Actions.Action.CanCancel(TinyLife.Actions.Action)
overload: TinyLife.Actions.MultiAction.CanCancel*
@@ -2286,31 +2304,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2318,6 +2329,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2365,20 +2383,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2386,6 +2397,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.OutOfTownAction.yml b/docs/api/TinyLife.Actions.OutOfTownAction.yml
index 9e15b44..e33b793 100644
--- a/docs/api/TinyLife.Actions.OutOfTownAction.yml
+++ b/docs/api/TinyLife.Actions.OutOfTownAction.yml
@@ -38,9 +38,7 @@ items:
content: 'public abstract class OutOfTownAction : MultiAction, IGenericDataHolder'
content.vb: >-
Public MustInherit Class OutOfTownAction
-
Inherits MultiAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -94,7 +92,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -225,11 +223,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n"
example: []
syntax:
content: protected override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action}
+ description: A set of actions that sohuld run before this action
content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of Action)
overridden: TinyLife.Actions.MultiAction.CreateFirstActions
overload: TinyLife.Actions.OutOfTownAction.CreateFirstActions*
@@ -261,6 +261,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nInitializes the main action.\nThis method is called after has all completed.\n"
example: []
syntax:
content: protected override void AndThenInitialize()
@@ -295,16 +296,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method is called every update frame while the main action is active.\nBy default, only is increased.\n"
example: []
syntax:
content: protected override void AndThenUpdate(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The current game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed, in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Protected Overrides Sub AndThenUpdate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.OutOfTownAction.AndThenUpdate*
@@ -336,14 +341,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns an action that should be queued up immediately after this action completes.\nThe queued up action is immediately started in the slot that this action occupied.\nCan be null, and is null by default.\n"
example: []
syntax:
content: public override Action GetNextAction(CompletionType completion)
parameters:
- id: completion
type: TinyLife.Actions.CompletionType
+ description: The type that this action completed with
return:
type: TinyLife.Actions.Action
+ description: The follow-up action
content.vb: Public Overrides Function GetNextAction(completion As CompletionType) As Action
overridden: TinyLife.Actions.Action.GetNextAction(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.OutOfTownAction.GetNextAction*
@@ -375,16 +383,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns true if the given person
can (automatically) enqueue a social action with the that is executing this action.\nNote that enqueueing a social action manually is still possible even if this method returns false.\nBy default, only returns false on this method.\n"
example: []
syntax:
content: public override bool CanEnqueueConversation(Person person, ActionType type)
parameters:
- id: person
type: TinyLife.Objects.Person
+ description: The person that wants to converse with us.
- id: type
type: TinyLife.Actions.ActionType
+ description: The type of action that should be enqueued. Might be null, in which case a generic or unknown action is querying this function.
return:
type: System.Boolean
+ description: Whether or not enqueueing a social action is possible.
content.vb: Public Overrides Function CanEnqueueConversation(person As Person, type As ActionType) As Boolean
overridden: TinyLife.Actions.Action.CanEnqueueConversation(TinyLife.Objects.Person,TinyLife.Actions.ActionType)
overload: TinyLife.Actions.OutOfTownAction.CanEnqueueConversation*
@@ -416,11 +428,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns true if this action, while it is currently active, should cause the speed to be available.\nBy default, this method returns false.\n"
example: []
syntax:
content: public override bool CausesExtremelyFastSpeed()
return:
type: System.Boolean
+ description: Whether the extremely fast speed should be available
content.vb: Public Overrides Function CausesExtremelyFastSpeed As Boolean
overridden: TinyLife.Actions.Action.CausesExtremelyFastSpeed
overload: TinyLife.Actions.OutOfTownAction.CausesExtremelyFastSpeed*
@@ -2232,31 +2246,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2264,6 +2271,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2311,20 +2325,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2332,6 +2339,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.PathfindAction.yml b/docs/api/TinyLife.Actions.PathfindAction.yml
index 5499704..436a2bf 100644
--- a/docs/api/TinyLife.Actions.PathfindAction.yml
+++ b/docs/api/TinyLife.Actions.PathfindAction.yml
@@ -41,9 +41,7 @@ items:
content: 'public abstract class PathfindAction : Action, IGenericDataHolder'
content.vb: >-
Public MustInherit Class PathfindAction
-
Inherits Action
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -88,7 +86,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -253,14 +251,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nCreates a new action from the given \n"
example: []
syntax:
content: public PathfindAction(ActionType type, ActionInfo info)
parameters:
- id: type
type: TinyLife.Actions.ActionType
+ description: The type to create this action from
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The information for this action
content.vb: Public Sub New(type As ActionType, info As ActionInfo)
overload: TinyLife.Actions.PathfindAction.#ctor*
modifiers.csharp:
@@ -401,6 +402,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n"
example: []
syntax:
content: public override void Initialize()
@@ -435,16 +437,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n"
example: []
syntax:
content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The current game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed, in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.Action.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.PathfindAction.Update*
@@ -476,11 +482,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called every update frame by a if this action is currently active to check if it should be stopped.\nIf this returns a result other than , will be called and the action is stopped.\nBy default, only modifies the completion type, otherwise is returned.\n"
example: []
syntax:
content: public override CompletionType IsCompleted()
return:
type: TinyLife.Actions.CompletionType
+ description: The current completion type of this action
content.vb: Public Overrides Function IsCompleted As CompletionType
overridden: TinyLife.Actions.Typeless.TypelessAction.IsCompleted
overload: TinyLife.Actions.PathfindAction.IsCompleted*
@@ -512,12 +520,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n"
example: []
syntax:
content: public override void OnCompleted(CompletionType type)
parameters:
- id: type
type: TinyLife.Actions.CompletionType
+ description: The type that this action completed with
content.vb: Public Overrides Sub OnCompleted(type As CompletionType)
overridden: TinyLife.Actions.Action.OnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.PathfindAction.OnCompleted*
@@ -549,14 +559,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nValidates this action's data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the .\n"
example: []
syntax:
content: public override bool Validate(Person person)
parameters:
- id: person
type: TinyLife.Objects.Person
+ description: The person that this action belongs to
return:
type: System.Boolean
+ description: Whether or not the action is still valid (or if it has invalid data)
content.vb: Public Overrides Function Validate(person As Person) As Boolean
overridden: TinyLife.Actions.Action.Validate(TinyLife.Objects.Person)
overload: TinyLife.Actions.PathfindAction.Validate*
@@ -2099,31 +2112,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2131,6 +2137,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2178,20 +2191,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2199,6 +2205,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.PickUpOrSpawnAction.yml b/docs/api/TinyLife.Actions.PickUpOrSpawnAction.yml
index 2978e17..d55feee 100644
--- a/docs/api/TinyLife.Actions.PickUpOrSpawnAction.yml
+++ b/docs/api/TinyLife.Actions.PickUpOrSpawnAction.yml
@@ -35,9 +35,7 @@ items:
content: 'public abstract class PickUpOrSpawnAction : MultiAction, IGenericDataHolder'
content.vb: >-
Public MustInherit Class PickUpOrSpawnAction
-
Inherits MultiAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -93,7 +91,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -258,14 +256,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nCreates a new action from the given \n"
example: []
syntax:
content: public PickUpOrSpawnAction(ActionType type, ActionInfo info)
parameters:
- id: type
type: TinyLife.Actions.ActionType
+ description: The type to create this action from
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The information for this action
content.vb: Public Sub New(type As ActionType, info As ActionInfo)
overload: TinyLife.Actions.PickUpOrSpawnAction.#ctor*
modifiers.csharp:
@@ -294,11 +295,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n"
example: []
syntax:
content: protected override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Typeless.TypelessAction}
+ description: A set of actions that sohuld run before this action
content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of TypelessAction)
overridden: TinyLife.Actions.MultiAction.CreateFirstActions
overload: TinyLife.Actions.PickUpOrSpawnAction.CreateFirstActions*
@@ -330,11 +333,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns the map object that is displayed in the action queue in the top left of the screen.\nNote that this value is ignored if this action's type has a .\nBy default, the is returned.\n"
example: []
syntax:
content: public override MapObject GetIconObject()
return:
type: TinyLife.Objects.MapObject
+ description: The icon object
content.vb: Public Overrides Function GetIconObject As MapObject
overridden: TinyLife.Actions.Action.GetIconObject
overload: TinyLife.Actions.PickUpOrSpawnAction.GetIconObject*
@@ -2299,31 +2304,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2331,6 +2329,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2378,20 +2383,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2399,6 +2397,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.PutAwayAction.yml b/docs/api/TinyLife.Actions.PutAwayAction.yml
index 2298957..881da54 100644
--- a/docs/api/TinyLife.Actions.PutAwayAction.yml
+++ b/docs/api/TinyLife.Actions.PutAwayAction.yml
@@ -33,9 +33,7 @@ items:
content: 'public class PutAwayAction : MultiAction, IGenericDataHolder'
content.vb: >-
Public Class PutAwayAction
-
Inherits MultiAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -90,7 +88,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -173,11 +171,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n"
example: []
syntax:
content: protected override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action}
+ description: A set of actions that sohuld run before this action
content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of Action)
overridden: TinyLife.Actions.MultiAction.CreateFirstActions
overload: TinyLife.Actions.PutAwayAction.CreateFirstActions*
@@ -209,6 +209,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nInitializes the main action.\nThis method is called after has all completed.\n"
example: []
syntax:
content: protected override void AndThenInitialize()
@@ -243,11 +244,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n"
example: []
syntax:
content: protected override CompletionType AndThenIsCompleted()
return:
type: TinyLife.Actions.CompletionType
+ description: Whether the main action is completed
content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType
overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted
overload: TinyLife.Actions.PutAwayAction.AndThenIsCompleted*
@@ -2181,31 +2184,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2213,6 +2209,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2260,20 +2263,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2281,6 +2277,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.SellAction.yml b/docs/api/TinyLife.Actions.SellAction.yml
index 35faa78..7237c7f 100644
--- a/docs/api/TinyLife.Actions.SellAction.yml
+++ b/docs/api/TinyLife.Actions.SellAction.yml
@@ -24,7 +24,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SellAction
path: Actions/SellAction.cs
- startLine: 14
+ startLine: 15
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -34,9 +34,7 @@ items:
content: 'public class SellAction : MultiAction, IGenericDataHolder'
content.vb: >-
Public Class SellAction
-
Inherits MultiAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -91,7 +89,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -133,7 +131,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Items
path: Actions/SellAction.cs
- startLine: 21
+ startLine: 22
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -170,15 +168,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CreateFirstActions
path: Actions/SellAction.cs
- startLine: 28
+ startLine: 30
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n"
example: []
syntax:
content: protected override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Action}
+ description: A set of actions that sohuld run before this action
content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of Action)
overridden: TinyLife.Actions.MultiAction.CreateFirstActions
overload: TinyLife.Actions.SellAction.CreateFirstActions*
@@ -206,10 +206,11 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AndThenInitialize
path: Actions/SellAction.cs
- startLine: 44
+ startLine: 46
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nInitializes the main action.\nThis method is called after has all completed.\n"
example: []
syntax:
content: protected override void AndThenInitialize()
@@ -240,15 +241,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AndThenIsCompleted
path: Actions/SellAction.cs
- startLine: 55
+ startLine: 57
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n"
example: []
syntax:
content: protected override CompletionType AndThenIsCompleted()
return:
type: TinyLife.Actions.CompletionType
+ description: Whether the main action is completed
content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType
overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted
overload: TinyLife.Actions.SellAction.AndThenIsCompleted*
@@ -276,7 +279,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GetSoldObject
path: Actions/SellAction.cs
- startLine: 66
+ startLine: 68
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -285,7 +288,6 @@ items:
syntax:
content: >-
public static T GetSoldObject(ActionInfo info)
-
where T : Furniture
parameters:
- id: info
@@ -2238,31 +2240,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2270,6 +2265,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2317,20 +2319,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2338,6 +2333,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.SitAction.yml b/docs/api/TinyLife.Actions.SitAction.yml
index d72d70a..a531bf5 100644
--- a/docs/api/TinyLife.Actions.SitAction.yml
+++ b/docs/api/TinyLife.Actions.SitAction.yml
@@ -35,9 +35,7 @@ items:
content: 'public class SitAction : MultiAction, IGenericDataHolder'
content.vb: >-
Public Class SitAction
-
Inherits MultiAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -90,7 +88,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -136,14 +134,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nCreates a new action from the given \n"
example: []
syntax:
content: public SitAction(ActionType type, ActionInfo info)
parameters:
- id: type
type: TinyLife.Actions.ActionType
+ description: The type to create this action from
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The information for this action
content.vb: Public Sub New(type As ActionType, info As ActionInfo)
overload: TinyLife.Actions.SitAction.#ctor*
modifiers.csharp:
@@ -172,11 +173,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n"
example: []
syntax:
content: protected override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Typeless.TypelessAction}
+ description: A set of actions that sohuld run before this action
content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of TypelessAction)
overridden: TinyLife.Actions.MultiAction.CreateFirstActions
overload: TinyLife.Actions.SitAction.CreateFirstActions*
@@ -208,6 +211,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nInitializes the main action.\nThis method is called after has all completed.\n"
example: []
syntax:
content: protected override void AndThenInitialize()
@@ -242,16 +246,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method is called every update frame while the main action is active.\nBy default, only is increased.\n"
example: []
syntax:
content: protected override void AndThenUpdate(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The current game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed, in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Protected Overrides Sub AndThenUpdate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.SitAction.AndThenUpdate*
@@ -283,11 +291,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n"
example: []
syntax:
content: protected override CompletionType AndThenIsCompleted()
return:
type: TinyLife.Actions.CompletionType
+ description: Whether the main action is completed
content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType
overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted
overload: TinyLife.Actions.SitAction.AndThenIsCompleted*
@@ -319,14 +329,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturn true on this method if this action can be multi-tasked along with the passed .\nTo actually check this property, should be used as it compares both objects.\nA multi-tasking is an action that is currently active along with another action.\nBy default, multi-tasking is disallowed for any action.\n"
example: []
syntax:
content: public override bool CanMultitask(Action other)
parameters:
- id: other
type: TinyLife.Actions.Action
+ description: The action to multi-task with
return:
type: System.Boolean
+ description: Whether this action can be multi-tasked
content.vb: Public Overrides Function CanMultitask(other As Action) As Boolean
overridden: TinyLife.Actions.Action.CanMultitask(TinyLife.Actions.Action)
overload: TinyLife.Actions.SitAction.CanMultitask*
@@ -2161,31 +2174,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2193,6 +2199,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2240,20 +2253,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2261,6 +2267,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.SocialAction.yml b/docs/api/TinyLife.Actions.SocialAction.yml
index 5720bc5..ba6187c 100644
--- a/docs/api/TinyLife.Actions.SocialAction.yml
+++ b/docs/api/TinyLife.Actions.SocialAction.yml
@@ -51,9 +51,7 @@ items:
content: 'public abstract class SocialAction : MultiAction, IGenericDataHolder'
content.vb: >-
Public MustInherit Class SocialAction
-
Inherits MultiAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -104,7 +102,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -324,12 +322,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nRepresents the amount of time that this action has "properly" been in progress for.\nThis is used by and and returns true only once the first actions are completed or the conversation has started, respectively.\nBy default, is returned.\n"
example: []
syntax:
content: public override TimeSpan InProgressTime { get; }
parameters: []
return:
type: System.TimeSpan
+ description: The amount of time that this action has properly been in progress for
content.vb: Public Overrides ReadOnly Property InProgressTime As TimeSpan
overridden: TinyLife.Actions.MultiAction.InProgressTime
overload: TinyLife.Actions.SocialAction.InProgressTime*
@@ -443,14 +443,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nCreates a new action from the given \n"
example: []
syntax:
content: public SocialAction(ActionType type, ActionInfo info)
parameters:
- id: type
type: TinyLife.Actions.ActionType
+ description: The type to create this action from
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The information for this action
content.vb: Public Sub New(type As ActionType, info As ActionInfo)
overload: TinyLife.Actions.SocialAction.#ctor*
modifiers.csharp:
@@ -479,11 +482,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n"
example: []
syntax:
content: protected override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Typeless.TypelessAction}
+ description: A set of actions that sohuld run before this action
content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of TypelessAction)
overridden: TinyLife.Actions.MultiAction.CreateFirstActions
overload: TinyLife.Actions.SocialAction.CreateFirstActions*
@@ -667,6 +672,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nInitializes the main action.\nThis method is called after has all completed.\n"
example: []
syntax:
content: protected override void AndThenInitialize()
@@ -701,16 +707,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method is called every update frame while the main action is active.\nBy default, only is increased.\n"
example: []
syntax:
content: protected override void AndThenUpdate(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The current game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed, in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Protected Overrides Sub AndThenUpdate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.SocialAction.AndThenUpdate*
@@ -742,11 +752,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n"
example: []
syntax:
content: protected sealed override CompletionType AndThenIsCompleted()
return:
type: TinyLife.Actions.CompletionType
+ description: Whether the main action is completed
content.vb: Protected NotOverridable Overrides Function AndThenIsCompleted As CompletionType
overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted
overload: TinyLife.Actions.SocialAction.AndThenIsCompleted*
@@ -780,14 +792,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns whether or not this action can be canceled by the given outside source.\nNote that the outside source can be null, and if it is, it means that the player canceled the action manually.\nBy default, actions can only be canceled if the cancelSource
is null.\n"
example: []
syntax:
content: public override bool CanCancel(Action cancelSource)
parameters:
- id: cancelSource
type: TinyLife.Actions.Action
+ description: The source of the cancelation, or null if the player canceled it
return:
type: System.Boolean
+ description: true if the action can be canceled
content.vb: Public Overrides Function CanCancel(cancelSource As Action) As Boolean
overridden: TinyLife.Actions.MultiAction.CanCancel(TinyLife.Actions.Action)
overload: TinyLife.Actions.SocialAction.CanCancel*
@@ -819,12 +834,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method gets called when the main action completes.\n"
example: []
syntax:
content: protected override void AndThenOnCompleted(CompletionType type)
parameters:
- id: type
type: TinyLife.Actions.CompletionType
+ description: The completion of the main action
content.vb: Protected Overrides Sub AndThenOnCompleted(type As CompletionType)
overridden: TinyLife.Actions.MultiAction.AndThenOnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.SocialAction.AndThenOnCompleted*
@@ -856,14 +873,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturn true on this method if this action can be multi-tasked along with the passed .\nTo actually check this property, should be used as it compares both objects.\nA multi-tasking is an action that is currently active along with another action.\nBy default, multi-tasking is disallowed for any action.\n"
example: []
syntax:
content: public override bool CanMultitask(Action other)
parameters:
- id: other
type: TinyLife.Actions.Action
+ description: The action to multi-task with
return:
type: System.Boolean
+ description: Whether this action can be multi-tasked
content.vb: Public Overrides Function CanMultitask(other As Action) As Boolean
overridden: TinyLife.Actions.Action.CanMultitask(TinyLife.Actions.Action)
overload: TinyLife.Actions.SocialAction.CanMultitask*
@@ -895,11 +915,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturns a localized string that explains this action in short.\nBy default, this method returns .\n"
example: []
syntax:
content: public override string GetDisplayName()
return:
type: System.String
+ description: This action's display name
content.vb: Public Overrides Function GetDisplayName As String
overridden: TinyLife.Actions.Action.GetDisplayName
overload: TinyLife.Actions.SocialAction.GetDisplayName*
@@ -927,14 +949,14 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpeakInConversation
path: Actions/SocialAction.cs
- startLine: 204
+ startLine: 202
assemblies:
- Tiny Life
namespace: TinyLife.Actions
summary: "\nHelper method to display emotes over each conversation partner in a back and forth fashion to make it seem like they are conversing\n"
example: []
syntax:
- content: protected bool SpeakInConversation(GameTime time, float speedMultiplier, EmoteCategory emoteCategories, SpeakStyle speakStyles, EmoteCategory? partnerEmoteCategories = default(EmoteCategory? ), SpeakStyle? partnerSpeakStyles = default(SpeakStyle? ), int totalAmount = 2147483647)
+ content: public bool SpeakInConversation(GameTime time, float speedMultiplier, EmoteCategory emoteCategories, SpeakStyle speakStyles, EmoteCategory? partnerEmoteCategories = null, SpeakStyle? partnerSpeakStyles = null, int totalAmount = 2147483647)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
@@ -960,13 +982,13 @@ items:
return:
type: System.Boolean
description: If totalAmount
is set, true is returned if the emote back-and-forth is completed
- content.vb: Protected Function SpeakInConversation(time As GameTime, speedMultiplier As Single, emoteCategories As EmoteCategory, speakStyles As SpeakStyle, partnerEmoteCategories As EmoteCategory? = Nothing, partnerSpeakStyles As SpeakStyle? = Nothing, totalAmount As Integer = 2147483647) As Boolean
+ content.vb: Public Function SpeakInConversation(time As GameTime, speedMultiplier As Single, emoteCategories As EmoteCategory, speakStyles As SpeakStyle, partnerEmoteCategories As EmoteCategory? = Nothing, partnerSpeakStyles As SpeakStyle? = Nothing, totalAmount As Integer = 2147483647) As Boolean
overload: TinyLife.Actions.SocialAction.SpeakInConversation*
nameWithType.vb: SocialAction.SpeakInConversation(GameTime, Single, EmoteCategory, SpeakStyle, Nullable(Of EmoteCategory), Nullable(Of SpeakStyle), Int32)
modifiers.csharp:
- - protected
+ - public
modifiers.vb:
- - Protected
+ - Public
fullName.vb: TinyLife.Actions.SocialAction.SpeakInConversation(Microsoft.Xna.Framework.GameTime, System.Single, TinyLife.Actions.EmoteCategory, TinyLife.Objects.SpeakStyle, System.Nullable(Of TinyLife.Actions.EmoteCategory), System.Nullable(Of TinyLife.Objects.SpeakStyle), System.Int32)
name.vb: SpeakInConversation(GameTime, Single, EmoteCategory, SpeakStyle, Nullable(Of EmoteCategory), Nullable(Of SpeakStyle), Int32)
- uid: TinyLife.Actions.SocialAction.InvokeForBoth(System.Action{TinyLife.Objects.Person,TinyLife.Objects.Person})
@@ -987,7 +1009,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: InvokeForBoth
path: Actions/SocialAction.cs
- startLine: 219
+ startLine: 217
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2725,31 +2747,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2757,6 +2772,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2804,20 +2826,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2825,6 +2840,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.StoreAction.yml b/docs/api/TinyLife.Actions.StoreAction.yml
index be26284..a7733b9 100644
--- a/docs/api/TinyLife.Actions.StoreAction.yml
+++ b/docs/api/TinyLife.Actions.StoreAction.yml
@@ -35,9 +35,7 @@ items:
content: 'public class StoreAction : MultiAction, IGenericDataHolder'
content.vb: >-
Public Class StoreAction
-
Inherits MultiAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -90,7 +88,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -173,11 +171,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nReturn a set of actions that should be executed before this action.\nEven if the yield statement is used, all actions will be collected into a list at the start of this action's invocation.\nIf no action gets returned in this function, this action fails.\nIf a null action is returned as the first item, no first actions will be executed.\n"
example: []
syntax:
content: protected override IEnumerable CreateFirstActions()
return:
type: System.Collections.Generic.IEnumerable{TinyLife.Actions.Typeless.TypelessAction}
+ description: A set of actions that sohuld run before this action
content.vb: Protected Overrides Function CreateFirstActions As IEnumerable(Of TypelessAction)
overridden: TinyLife.Actions.MultiAction.CreateFirstActions
overload: TinyLife.Actions.StoreAction.CreateFirstActions*
@@ -209,6 +209,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nInitializes the main action.\nThis method is called after has all completed.\n"
example: []
syntax:
content: protected override void AndThenInitialize()
@@ -243,16 +244,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method is called every update frame while the main action is active.\nBy default, only is increased.\n"
example: []
syntax:
content: protected override void AndThenUpdate(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The current game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed, in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Protected Overrides Sub AndThenUpdate(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.MultiAction.AndThenUpdate(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.StoreAction.AndThenUpdate*
@@ -284,11 +289,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method returns whether or not the main action is completed.\n"
example: []
syntax:
content: protected override CompletionType AndThenIsCompleted()
return:
type: TinyLife.Actions.CompletionType
+ description: Whether the main action is completed
content.vb: Protected Overrides Function AndThenIsCompleted As CompletionType
overridden: TinyLife.Actions.MultiAction.AndThenIsCompleted
overload: TinyLife.Actions.StoreAction.AndThenIsCompleted*
@@ -320,12 +327,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method gets called when the main action completes.\n"
example: []
syntax:
content: protected override void AndThenOnCompleted(CompletionType type)
parameters:
- id: type
type: TinyLife.Actions.CompletionType
+ description: The completion of the main action
content.vb: Protected Overrides Sub AndThenOnCompleted(type As CompletionType)
overridden: TinyLife.Actions.MultiAction.AndThenOnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.StoreAction.AndThenOnCompleted*
@@ -2167,31 +2176,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2199,6 +2201,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2246,20 +2255,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2267,6 +2269,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.yml b/docs/api/TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.yml
index 9d51ac5..f654310 100644
--- a/docs/api/TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.yml
+++ b/docs/api/TinyLife.Actions.TalkAction.TalkSettings.EvaluationResult.yml
@@ -19,7 +19,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EvaluationResult
path: Actions/TalkAction.cs
- startLine: 382
+ startLine: 392
assemblies:
- Tiny Life
namespace: TinyLife.Actions
diff --git a/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml b/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml
index a1a0dc1..983e7ca 100644
--- a/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml
+++ b/docs/api/TinyLife.Actions.TalkAction.TalkSettings.yml
@@ -30,6 +30,7 @@ items:
- TinyLife.Actions.TalkAction.TalkSettings.SpeakStyle
- TinyLife.Actions.TalkAction.TalkSettings.SuccessEmotion
- TinyLife.Actions.TalkAction.TalkSettings.TalkMinutes
+ - TinyLife.Actions.TalkAction.TalkSettings.Update(TinyLife.Actions.SocialAction,Microsoft.Xna.Framework.GameTime,System.Single)
langs:
- csharp
- vb
@@ -44,7 +45,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TalkSettings
path: Actions/TalkAction.cs
- startLine: 103
+ startLine: 91
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -54,9 +55,7 @@ items:
content: 'public class TalkSettings : GenericDataHolder, IGenericDataHolder'
content.vb: >-
Public Class TalkSettings
-
Inherits GenericDataHolder
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -100,7 +99,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FriendshipGain
path: Actions/TalkAction.cs
- startLine: 109
+ startLine: 97
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -133,7 +132,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GoBadlyChance
path: Actions/TalkAction.cs
- startLine: 114
+ startLine: 102
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -166,7 +165,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: TalkMinutes
path: Actions/TalkAction.cs
- startLine: 118
+ startLine: 106
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -199,7 +198,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: EmoteCategory
path: Actions/TalkAction.cs
- startLine: 122
+ startLine: 110
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -232,7 +231,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SpeakStyle
path: Actions/TalkAction.cs
- startLine: 126
+ startLine: 114
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -265,7 +264,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PartnerEmoteCategory
path: Actions/TalkAction.cs
- startLine: 131
+ startLine: 119
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -298,7 +297,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: PartnerSpeakStyle
path: Actions/TalkAction.cs
- startLine: 136
+ startLine: 124
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -331,7 +330,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GainedSkill
path: Actions/TalkAction.cs
- startLine: 140
+ startLine: 128
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -364,7 +363,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GainSkillOnFailure
path: Actions/TalkAction.cs
- startLine: 145
+ startLine: 133
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -397,7 +396,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RestoredNeed
path: Actions/TalkAction.cs
- startLine: 150
+ startLine: 138
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -430,7 +429,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RequiredEmotion
path: Actions/TalkAction.cs
- startLine: 155
+ startLine: 143
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -463,7 +462,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RequiredPersonality
path: Actions/TalkAction.cs
- startLine: 160
+ startLine: 148
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -496,7 +495,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RequiredSkill
path: Actions/TalkAction.cs
- startLine: 166
+ startLine: 154
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -529,7 +528,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RequiredAges
path: Actions/TalkAction.cs
- startLine: 171
+ startLine: 159
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -562,7 +561,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: RequiredPartnerAges
path: Actions/TalkAction.cs
- startLine: 176
+ startLine: 164
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -595,7 +594,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanExecute
path: Actions/TalkAction.cs
- startLine: 181
+ startLine: 169
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -628,7 +627,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: FailEmotion
path: Actions/TalkAction.cs
- startLine: 186
+ startLine: 174
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -661,7 +660,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: SuccessEmotion
path: Actions/TalkAction.cs
- startLine: 190
+ startLine: 178
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -694,7 +693,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: GainRomancePercentage
path: Actions/TalkAction.cs
- startLine: 196
+ startLine: 184
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -727,7 +726,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: LoweredEmotion
path: Actions/TalkAction.cs
- startLine: 201
+ startLine: 189
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -760,7 +759,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnSuccess
path: Actions/TalkAction.cs
- startLine: 205
+ startLine: 193
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -793,7 +792,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: OnFailure
path: Actions/TalkAction.cs
- startLine: 209
+ startLine: 197
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -826,7 +825,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CanDoRandomly
path: Actions/TalkAction.cs
- startLine: 214
+ startLine: 202
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -841,6 +840,83 @@ items:
- public
modifiers.vb:
- Public
+- uid: TinyLife.Actions.TalkAction.TalkSettings.Update(TinyLife.Actions.SocialAction,Microsoft.Xna.Framework.GameTime,System.Single)
+ commentId: M:TinyLife.Actions.TalkAction.TalkSettings.Update(TinyLife.Actions.SocialAction,Microsoft.Xna.Framework.GameTime,System.Single)
+ id: Update(TinyLife.Actions.SocialAction,Microsoft.Xna.Framework.GameTime,System.Single)
+ parent: TinyLife.Actions.TalkAction.TalkSettings
+ langs:
+ - csharp
+ - vb
+ name: Update(SocialAction, GameTime, Single)
+ nameWithType: TalkAction.TalkSettings.Update(SocialAction, GameTime, Single)
+ fullName: TinyLife.Actions.TalkAction.TalkSettings.Update(TinyLife.Actions.SocialAction, Microsoft.Xna.Framework.GameTime, System.Single)
+ type: Method
+ source:
+ remote:
+ path: TinyLife/Actions/TalkAction.cs
+ branch: master
+ repo: https://git.ellpeck.de/Ellpeck/TinyLife
+ id: Update
+ path: Actions/TalkAction.cs
+ startLine: 204
+ assemblies:
+ - Tiny Life
+ namespace: TinyLife.Actions
+ syntax:
+ content: public virtual void Update(SocialAction action, GameTime time, float speedMultiplier)
+ parameters:
+ - id: action
+ type: TinyLife.Actions.SocialAction
+ - id: time
+ type: Microsoft.Xna.Framework.GameTime
+ - id: speedMultiplier
+ type: System.Single
+ content.vb: Public Overridable Sub Update(action As SocialAction, time As GameTime, speedMultiplier As Single)
+ overload: TinyLife.Actions.TalkAction.TalkSettings.Update*
+ modifiers.csharp:
+ - public
+ - virtual
+ modifiers.vb:
+ - Public
+ - Overridable
+- uid: TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction)
+ commentId: M:TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction)
+ id: Evaluate(TinyLife.Actions.SocialAction)
+ parent: TinyLife.Actions.TalkAction.TalkSettings
+ langs:
+ - csharp
+ - vb
+ name: Evaluate(SocialAction)
+ nameWithType: TalkAction.TalkSettings.Evaluate(SocialAction)
+ fullName: TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction)
+ type: Method
+ source:
+ remote:
+ path: TinyLife/Actions/TalkAction.cs
+ branch: master
+ repo: https://git.ellpeck.de/Ellpeck/TinyLife
+ id: Evaluate
+ path: Actions/TalkAction.cs
+ startLine: 218
+ assemblies:
+ - Tiny Life
+ namespace: TinyLife.Actions
+ summary: "\nEvaluates these after a has completed.\nThis method causes friendship and romance to be added to the involved people's , adds the etc.\nThis method is automatically called by the main conversation partner () in .\n"
+ example: []
+ syntax:
+ content: public virtual void Evaluate(SocialAction action)
+ parameters:
+ - id: action
+ type: TinyLife.Actions.SocialAction
+ description: The action
+ content.vb: Public Overridable Sub Evaluate(action As SocialAction)
+ overload: TinyLife.Actions.TalkAction.TalkSettings.Evaluate*
+ modifiers.csharp:
+ - public
+ - virtual
+ modifiers.vb:
+ - Public
+ - Overridable
- uid: TinyLife.Actions.TalkAction.TalkSettings.CheckCanExecute(TinyLife.Actions.ActionInfo,System.Boolean)
commentId: M:TinyLife.Actions.TalkAction.TalkSettings.CheckCanExecute(TinyLife.Actions.ActionInfo,System.Boolean)
id: CheckCanExecute(TinyLife.Actions.ActionInfo,System.Boolean)
@@ -859,7 +935,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: CheckCanExecute
path: Actions/TalkAction.cs
- startLine: 223
+ startLine: 365
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -883,44 +959,6 @@ items:
- public
modifiers.vb:
- Public
-- uid: TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction)
- commentId: M:TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction)
- id: Evaluate(TinyLife.Actions.SocialAction)
- parent: TinyLife.Actions.TalkAction.TalkSettings
- langs:
- - csharp
- - vb
- name: Evaluate(SocialAction)
- nameWithType: TalkAction.TalkSettings.Evaluate(SocialAction)
- fullName: TinyLife.Actions.TalkAction.TalkSettings.Evaluate(TinyLife.Actions.SocialAction)
- type: Method
- source:
- remote:
- path: TinyLife/Actions/TalkAction.cs
- branch: master
- repo: https://git.ellpeck.de/Ellpeck/TinyLife
- id: Evaluate
- path: Actions/TalkAction.cs
- startLine: 236
- assemblies:
- - Tiny Life
- namespace: TinyLife.Actions
- summary: "\nEvaluates these after a has completed.\nThis method causes friendship and romance to be added to the involved people's , adds the etc.\nThis method is automatically called by the main conversation partner () in .\n"
- example: []
- syntax:
- content: public virtual void Evaluate(SocialAction action)
- parameters:
- - id: action
- type: TinyLife.Actions.SocialAction
- description: The action
- content.vb: Public Overridable Sub Evaluate(action As SocialAction)
- overload: TinyLife.Actions.TalkAction.TalkSettings.Evaluate*
- modifiers.csharp:
- - public
- - virtual
- modifiers.vb:
- - Public
- - Overridable
references:
- uid: TinyLife.Actions.TalkAction
commentId: T:TinyLife.Actions.TalkAction
@@ -2330,12 +2368,44 @@ references:
- uid: TinyLife.Actions.ActionType.AiSettings.CanDoRandomly
commentId: F:TinyLife.Actions.ActionType.AiSettings.CanDoRandomly
isExternal: true
+- uid: TinyLife.Actions.TalkAction.TalkSettings.Update*
+ commentId: Overload:TinyLife.Actions.TalkAction.TalkSettings.Update
+ name: Update
+ nameWithType: TalkAction.TalkSettings.Update
+ fullName: TinyLife.Actions.TalkAction.TalkSettings.Update
+- uid: Microsoft.Xna.Framework.GameTime
+ commentId: T:Microsoft.Xna.Framework.GameTime
+ parent: Microsoft.Xna.Framework
+ isExternal: true
+ name: GameTime
+ nameWithType: GameTime
+ fullName: Microsoft.Xna.Framework.GameTime
+- uid: Microsoft.Xna.Framework
+ commentId: N:Microsoft.Xna.Framework
+ isExternal: true
+ name: Microsoft.Xna.Framework
+ nameWithType: Microsoft.Xna.Framework
+ fullName: Microsoft.Xna.Framework
- uid: TinyLife.Actions.TalkAction.TalkSettings
commentId: T:TinyLife.Actions.TalkAction.TalkSettings
parent: TinyLife.Actions
name: TalkAction.TalkSettings
nameWithType: TalkAction.TalkSettings
fullName: TinyLife.Actions.TalkAction.TalkSettings
+- uid: TinyLife.Relationship
+ commentId: T:TinyLife.Relationship
+ parent: TinyLife
+ name: Relationship
+ nameWithType: Relationship
+ fullName: TinyLife.Relationship
+- uid: TinyLife.Actions.TalkAction.TalkSettings.GainedSkill
+ commentId: F:TinyLife.Actions.TalkAction.TalkSettings.GainedSkill
+ isExternal: true
+- uid: TinyLife.Actions.TalkAction.TalkSettings.Evaluate*
+ commentId: Overload:TinyLife.Actions.TalkAction.TalkSettings.Evaluate
+ name: Evaluate
+ nameWithType: TalkAction.TalkSettings.Evaluate
+ fullName: TinyLife.Actions.TalkAction.TalkSettings.Evaluate
- uid: TinyLife.Actions.TalkAction.TalkSettings.RequiredSkill
commentId: F:TinyLife.Actions.TalkAction.TalkSettings.RequiredSkill
isExternal: true
@@ -2362,17 +2432,3 @@ references:
name: ActionType.CanExecuteResult
nameWithType: ActionType.CanExecuteResult
fullName: TinyLife.Actions.ActionType.CanExecuteResult
-- uid: TinyLife.Relationship
- commentId: T:TinyLife.Relationship
- parent: TinyLife
- name: Relationship
- nameWithType: Relationship
- fullName: TinyLife.Relationship
-- uid: TinyLife.Actions.TalkAction.TalkSettings.GainedSkill
- commentId: F:TinyLife.Actions.TalkAction.TalkSettings.GainedSkill
- isExternal: true
-- uid: TinyLife.Actions.TalkAction.TalkSettings.Evaluate*
- commentId: Overload:TinyLife.Actions.TalkAction.TalkSettings.Evaluate
- name: Evaluate
- nameWithType: TalkAction.TalkSettings.Evaluate
- fullName: TinyLife.Actions.TalkAction.TalkSettings.Evaluate
diff --git a/docs/api/TinyLife.Actions.TalkAction.yml b/docs/api/TinyLife.Actions.TalkAction.yml
index 893ba3c..343d226 100644
--- a/docs/api/TinyLife.Actions.TalkAction.yml
+++ b/docs/api/TinyLife.Actions.TalkAction.yml
@@ -38,9 +38,7 @@ items:
content: 'public class TalkAction : SocialAction, IGenericDataHolder'
content.vb: >-
Public Class TalkAction
-
Inherits SocialAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -108,7 +106,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -296,14 +294,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nCreates a new action from the given \n"
example: []
syntax:
content: public TalkAction(ActionType type, ActionInfo info)
parameters:
- id: type
type: TinyLife.Actions.ActionType
+ description: The type to create this action from
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The information for this action
content.vb: Public Sub New(type As ActionType, info As ActionInfo)
overload: TinyLife.Actions.TalkAction.#ctor*
modifiers.csharp:
@@ -332,16 +333,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nSocialAction version of .\nThis method is called every update frame during an active conversation for both conversation partners.\nBy default, this method only increases .\n"
example: []
syntax:
content: protected override void UpdateConversation(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The game's time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time passed in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Protected Overrides Sub UpdateConversation(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.SocialAction.UpdateConversation(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.TalkAction.UpdateConversation*
@@ -369,16 +374,18 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: AndThenOnCompleted
path: Actions/TalkAction.cs
- startLine: 54
+ startLine: 50
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nMultiAction version of .\nThis method gets called when the main action completes.\n"
example: []
syntax:
content: protected override void AndThenOnCompleted(CompletionType type)
parameters:
- id: type
type: TinyLife.Actions.CompletionType
+ description: The completion of the main action
content.vb: Protected Overrides Sub AndThenOnCompleted(type As CompletionType)
overridden: TinyLife.Actions.SocialAction.AndThenOnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.TalkAction.AndThenOnCompleted*
@@ -406,15 +413,17 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: IsConversationCompleted
path: Actions/TalkAction.cs
- startLine: 62
+ startLine: 58
assemblies:
- Tiny Life
namespace: TinyLife.Actions
+ summary: "\nSocialAction version of .\nThis method returns whether or not the conversation should be marked as completed.\nNote that this method is only called for the part of the conversation.\n"
example: []
syntax:
content: protected override CompletionType IsConversationCompleted()
return:
type: TinyLife.Actions.CompletionType
+ description: Whether or not this conversation is completed
content.vb: Protected Overrides Function IsConversationCompleted As CompletionType
overridden: TinyLife.Actions.SocialAction.IsConversationCompleted
overload: TinyLife.Actions.TalkAction.IsConversationCompleted*
@@ -442,7 +451,7 @@ items:
repo: https://git.ellpeck.de/Ellpeck/TinyLife
id: Create
path: Actions/TalkAction.cs
- startLine: 73
+ startLine: 69
assemblies:
- Tiny Life
namespace: TinyLife.Actions
@@ -2806,31 +2815,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable, System.Boolean)
+ nameWithType.vb: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
+ name.vb: FindAllFreePeople(Person, ActionType, Nullable(Of Vector2), Nullable(Of Single), Boolean)
spec.csharp:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2838,6 +2840,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
@@ -2885,20 +2894,13 @@ references:
nameWithType: )
fullName: )
spec.vb:
- - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
name: FindAllFreePeople
nameWithType: TypelessAction.FindAllFreePeople
fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople
- name: (
nameWithType: (
fullName: (
- - uid: TinyLife.Actions.ActionType
- name: ActionType
- nameWithType: ActionType
- fullName: TinyLife.Actions.ActionType
- - name: ', '
- nameWithType: ', '
- fullName: ', '
- uid: TinyLife.Objects.Person
name: Person
nameWithType: Person
@@ -2906,6 +2908,13 @@ references:
- name: ', '
nameWithType: ', '
fullName: ', '
+ - uid: TinyLife.Actions.ActionType
+ name: ActionType
+ nameWithType: ActionType
+ fullName: TinyLife.Actions.ActionType
+ - name: ', '
+ nameWithType: ', '
+ fullName: ', '
- uid: System.Nullable`1
name: Nullable
nameWithType: Nullable
diff --git a/docs/api/TinyLife.Actions.Typeless.PathfindToPersonAction.yml b/docs/api/TinyLife.Actions.Typeless.PathfindToPersonAction.yml
index d3bc62c..2ecfe96 100644
--- a/docs/api/TinyLife.Actions.Typeless.PathfindToPersonAction.yml
+++ b/docs/api/TinyLife.Actions.Typeless.PathfindToPersonAction.yml
@@ -36,9 +36,7 @@ items:
content: 'public class PathfindToPersonAction : TypelessAction, IGenericDataHolder'
content.vb: >-
Public Class PathfindToPersonAction
-
Inherits TypelessAction
-
Implements IGenericDataHolder
inheritance:
- System.Object
@@ -69,7 +67,7 @@ items:
- TinyLife.Actions.Typeless.TypelessAction.Sit(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Single,TinyLife.Objects.ActionSpot)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChair(TinyLife.Objects.Person,TinyLife.Objects.Furniture)
- TinyLife.Actions.Typeless.TypelessAction.GetFreeChairs(TinyLife.Objects.Person,TinyLife.Objects.Furniture,System.Func{MLEM.Misc.Direction2,System.Boolean})
- - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ - TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeFurniture(TinyLife.Objects.Person,TinyLife.Objects.ObjectCategory,TinyLife.Objects.FurnitureType,System.Boolean,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean,System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeWalls(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- TinyLife.Actions.Typeless.TypelessAction.FindAllFreeGround(TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
@@ -115,12 +113,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Typeless
+ summary: "\nCreates a new typeless action with the given action information\n"
example: []
syntax:
content: public PathfindToPersonAction(ActionInfo info)
parameters:
- id: info
type: TinyLife.Actions.ActionInfo
+ description: The information for this action
content.vb: Public Sub New(info As ActionInfo)
overload: TinyLife.Actions.Typeless.PathfindToPersonAction.#ctor*
modifiers.csharp:
@@ -186,6 +186,7 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Typeless
+ summary: "\nThis method is called when the action is first started by a .\nNote that it is not called when the action gets added to the , but when it is moved to .\n"
example: []
syntax:
content: public override void Initialize()
@@ -220,16 +221,20 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Typeless
+ summary: "\nThis method is called every update frame if this action is currently active.\nBy default, only the is modified in this method and is called.\n"
example: []
syntax:
content: public override void Update(GameTime time, TimeSpan passedInGame, float speedMultiplier)
parameters:
- id: time
type: Microsoft.Xna.Framework.GameTime
+ description: The current game time
- id: passedInGame
type: System.TimeSpan
+ description: The amount of time that has passed, in game time
- id: speedMultiplier
type: System.Single
+ description: The game speed multiplier, which represents how fast things should happen, which is usually determined by
content.vb: Public Overrides Sub Update(time As GameTime, passedInGame As TimeSpan, speedMultiplier As Single)
overridden: TinyLife.Actions.Typeless.TypelessAction.Update(Microsoft.Xna.Framework.GameTime,System.TimeSpan,System.Single)
overload: TinyLife.Actions.Typeless.PathfindToPersonAction.Update*
@@ -261,14 +266,17 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Typeless
+ summary: "\nValidates this action's data.\nThis is called when a map is loaded from disk.\nWhen returning false on this method, the action is removed from the .\n"
example: []
syntax:
content: public override bool Validate(Person person)
parameters:
- id: person
type: TinyLife.Objects.Person
+ description: The person that this action belongs to
return:
type: System.Boolean
+ description: Whether or not the action is still valid (or if it has invalid data)
content.vb: Public Overrides Function Validate(person As Person) As Boolean
overridden: TinyLife.Actions.Typeless.TypelessAction.Validate(TinyLife.Objects.Person)
overload: TinyLife.Actions.Typeless.PathfindToPersonAction.Validate*
@@ -300,11 +308,13 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Typeless
+ summary: "\nThis method is called every update frame by a if this action is currently active to check if it should be stopped.\nIf this returns a result other than , will be called and the action is stopped.\nBy default, only modifies the completion type, otherwise is returned.\n"
example: []
syntax:
content: public override CompletionType IsCompleted()
return:
type: TinyLife.Actions.CompletionType
+ description: The current completion type of this action
content.vb: Public Overrides Function IsCompleted As CompletionType
overridden: TinyLife.Actions.Typeless.TypelessAction.IsCompleted
overload: TinyLife.Actions.Typeless.PathfindToPersonAction.IsCompleted*
@@ -336,12 +346,14 @@ items:
assemblies:
- Tiny Life
namespace: TinyLife.Actions.Typeless
+ summary: "\nThis method is called when this action , or if it is canceled from an outside source.\nNote that, if this method is called as a result of , the passed will be the same.\n"
example: []
syntax:
content: public override void OnCompleted(CompletionType type)
parameters:
- id: type
type: TinyLife.Actions.CompletionType
+ description: The type that this action completed with
content.vb: Public Overrides Sub OnCompleted(type As CompletionType)
overridden: TinyLife.Actions.Typeless.TypelessAction.OnCompleted(TinyLife.Actions.CompletionType)
overload: TinyLife.Actions.Typeless.PathfindToPersonAction.OnCompleted*
@@ -1520,31 +1532,24 @@ references:
- name: )
nameWithType: )
fullName: )
-- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
- commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType,TinyLife.Objects.Person,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+- uid: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
+ commentId: M:TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person,TinyLife.Actions.ActionType,System.Nullable{Microsoft.Xna.Framework.Vector2},System.Nullable{System.Single},System.Boolean)
parent: TinyLife.Actions.Typeless.TypelessAction
isExternal: true
- name: FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- nameWithType: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable, Nullable, Boolean)
- fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable, System.Nullable, System.Boolean)
- nameWithType.vb: TypelessAction.FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
- fullName.vb: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Actions.ActionType, TinyLife.Objects.Person, System.Nullable(Of Microsoft.Xna.Framework.Vector2), System.Nullable(Of System.Single), System.Boolean)
- name.vb: FindAllFreePeople(ActionType, Person, Nullable(Of Vector2), Nullable(Of Single), Boolean)
+ name: FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ nameWithType: TypelessAction.FindAllFreePeople(Person, ActionType, Nullable, Nullable, Boolean)
+ fullName: TinyLife.Actions.Typeless.TypelessAction.FindAllFreePeople(TinyLife.Objects.Person, TinyLife.Actions.ActionType, System.Nullable, System.Nullable