TinyLifeExampleMod/Api/TinyLife/Objects/ScreenObject.md

2.3 KiB

ScreenObject

Namespace: TinyLife > Objects

Assembly: Tiny Life.dll

Implements IGenericDataHolder, IPricedObject, IUpdatingObject

Constructors

Name Summary
ScreenObject ( Guid, FurnitureType, Int32[], Map, Vector2 )

Fields

Type Name Summary
String ScreenContent A string representing the image that is displayed on this object's screen. This field's value will have "Screen" prepended to it and all furniture MLEM.Data.DataTextureAtlas instances that are registered will be searched for the image. This value resets every TinyLife.Objects.ScreenObject.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Vector2,System.Nullable{Microsoft.Xna.Framework.Color},MLEM.Misc.Direction2,System.Int32[],System.Single,System.Boolean,TinyLife.Objects.Furniture,TinyLife.Objects.ObjectSpot,System.Single,System.Boolean) call, so you have to set it perpetually.

Methods

Return Name Summary
void Draw ( GameTime, SpriteBatch, Vector2, Vector2, Nullable<Color>, Direction2, Int32[], Single, Boolean, Furniture, ObjectSpot, Single, Boolean )
void Update ( GameTime, TimeSpan, GameSpeed )