2021-08-04 06:51:12 +02:00
### YamlMime:ManagedReference
items :
- uid : TinyLife.Objects.Light
commentId : T:TinyLife.Objects.Light
id : Light
parent : TinyLife.Objects
children :
2023-10-11 16:05:32 +02:00
- TinyLife.Objects.Light.#ctor(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,MLEM.Textures.TextureRegion,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Color)
2022-06-09 20:12:10 +02:00
- TinyLife.Objects.Light.CameraOffset
2021-08-04 06:51:12 +02:00
- TinyLife.Objects.Light.CircleTexture
- TinyLife.Objects.Light.Color
2022-09-05 14:19:42 +02:00
- TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
2022-06-09 20:12:10 +02:00
- TinyLife.Objects.Light.DrawPosOffset
2023-10-11 16:05:32 +02:00
- TinyLife.Objects.Light.Floor
2021-08-04 06:51:12 +02:00
- TinyLife.Objects.Light.IsDisabled
- TinyLife.Objects.Light.Map
- TinyLife.Objects.Light.Position
2022-06-09 20:12:10 +02:00
- TinyLife.Objects.Light.Rotation
2023-08-15 13:17:22 +02:00
- TinyLife.Objects.Light.Scale
2021-08-04 06:51:12 +02:00
- TinyLife.Objects.Light.Size
- TinyLife.Objects.Light.Texture
langs :
- csharp
- vb
name : Light
nameWithType : Light
fullName : TinyLife.Objects.Light
type : Class
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2021-11-26 23:42:22 +01:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id : Light
2022-03-09 16:13:05 +01:00
path : ../TinyLife/Objects/Light.cs
2022-09-05 14:19:42 +02:00
startLine : 13
2021-08-04 06:51:12 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : >-
A light is a semi-object that can be added to a <xref href="TinyLife.World.Map" data-throw-if-not-resolved="false"></xref> using <xref href="TinyLife.World.Map.AddLight(TinyLife.Objects.Light)" data-throw-if-not-resolved="false"></xref>.
A light draws a light texture onto a lightmap and, as such, adds lighting to the rendered world.
2021-08-04 06:51:12 +02:00
example : [ ]
syntax :
content : public class Light
content.vb : Public Class Light
inheritance :
- System.Object
inheritedMembers :
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object,System.Object)
- System.Object.GetHashCode
- System.Object.GetType
- System.Object.MemberwiseClone
- System.Object.ReferenceEquals(System.Object,System.Object)
- System.Object.ToString
extensionMethods :
- TinyLife.Objects.Light.TinyLife.Utilities.Extensions.JsonCopy``1
- uid : TinyLife.Objects.Light.CircleTexture
commentId : F:TinyLife.Objects.Light.CircleTexture
id : CircleTexture
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : CircleTexture
nameWithType : Light.CircleTexture
fullName : TinyLife.Objects.Light.CircleTexture
type : Field
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2021-11-26 23:42:22 +01:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id : CircleTexture
2022-03-09 16:13:05 +01:00
path : ../TinyLife/Objects/Light.cs
2022-09-05 14:19:42 +02:00
startLine : 18
2021-08-04 06:51:12 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : A texture that can be used as the <xref href="TinyLife.Objects.Light.Texture" data-throw-if-not-resolved="false"></xref> of a light that is circular
2021-08-04 06:51:12 +02:00
example : [ ]
syntax :
content : public static readonly TextureRegion CircleTexture
return :
type : MLEM.Textures.TextureRegion
content.vb : Public Shared ReadOnly CircleTexture As TextureRegion
- uid : TinyLife.Objects.Light.Map
commentId : F:TinyLife.Objects.Light.Map
id : Map
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : Map
nameWithType : Light.Map
fullName : TinyLife.Objects.Light.Map
type : Field
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2021-11-26 23:42:22 +01:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id : Map
2022-03-09 16:13:05 +01:00
path : ../TinyLife/Objects/Light.cs
2022-09-05 14:19:42 +02:00
startLine : 23
2021-08-04 06:51:12 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : The map that this light is on
2021-08-04 06:51:12 +02:00
example : [ ]
syntax :
content : public readonly Map Map
return :
type : TinyLife.World.Map
content.vb : Public ReadOnly Map As Map
- uid : TinyLife.Objects.Light.Texture
commentId : F:TinyLife.Objects.Light.Texture
id : Texture
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : Texture
nameWithType : Light.Texture
fullName : TinyLife.Objects.Light.Texture
type : Field
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2021-11-26 23:42:22 +01:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id : Texture
2022-03-09 16:13:05 +01:00
path : ../TinyLife/Objects/Light.cs
2022-09-05 14:19:42 +02:00
startLine : 28
2021-08-04 06:51:12 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : >-
The texture that this light currently has.
A custom texture can be used, or any of the static texture regions in this class, including <xref href="TinyLife.Objects.Light.CircleTexture" data-throw-if-not-resolved="false"></xref>.
2021-08-04 06:51:12 +02:00
example : [ ]
syntax :
content : public readonly TextureRegion Texture
return :
type : MLEM.Textures.TextureRegion
content.vb : Public ReadOnly Texture As TextureRegion
2022-06-09 20:12:10 +02:00
- uid : TinyLife.Objects.Light.CameraOffset
commentId : F:TinyLife.Objects.Light.CameraOffset
id : CameraOffset
2021-08-04 06:51:12 +02:00
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
2022-06-09 20:12:10 +02:00
name : CameraOffset
nameWithType : Light.CameraOffset
fullName : TinyLife.Objects.Light.CameraOffset
2021-08-04 06:51:12 +02:00
type : Field
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2021-11-26 23:42:22 +01:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
2022-06-09 20:12:10 +02:00
id : CameraOffset
2022-03-09 16:13:05 +01:00
path : ../TinyLife/Objects/Light.cs
2022-09-05 14:19:42 +02:00
startLine : 32
2021-08-04 06:51:12 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : The offset from this light's <xref href="TinyLife.Objects.Light.Position" data-throw-if-not-resolved="false"></xref> that is added in visual space only, using <xref href="TinyLife.Utilities.Extensions.ToVisualY(Microsoft.Xna.Framework.Vector2)" data-throw-if-not-resolved="false"></xref>.
2021-08-04 06:51:12 +02:00
example : [ ]
syntax :
2022-06-09 20:12:10 +02:00
content : public Vector2 CameraOffset
2021-08-04 06:51:12 +02:00
return :
2022-09-05 14:19:42 +02:00
type : Microsoft.Xna.Framework.Vector2
2022-06-09 20:12:10 +02:00
content.vb : Public CameraOffset As Vector2
2021-08-04 06:51:12 +02:00
- uid : TinyLife.Objects.Light.Position
commentId : P:TinyLife.Objects.Light.Position
id : Position
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : Position
nameWithType : Light.Position
fullName : TinyLife.Objects.Light.Position
type : Property
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2021-11-26 23:42:22 +01:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id : Position
2022-03-09 16:13:05 +01:00
path : ../TinyLife/Objects/Light.cs
2022-09-05 14:19:42 +02:00
startLine : 37
2021-08-04 06:51:12 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : >-
The position of this light, in world space.
Note that, if this position is changed, this light's current <xref href="TinyLife.World.MapSection" data-throw-if-not-resolved="false"></xref> is changed automatically if needed.
2021-08-04 06:51:12 +02:00
example : [ ]
syntax :
content : public Vector2 Position { get; set; }
parameters : [ ]
return :
2022-09-05 14:19:42 +02:00
type : Microsoft.Xna.Framework.Vector2
2021-08-04 06:51:12 +02:00
content.vb : Public Property Position As Vector2
overload : TinyLife.Objects.Light.Position*
2023-10-11 16:05:32 +02:00
- uid : TinyLife.Objects.Light.Floor
commentId : F:TinyLife.Objects.Light.Floor
id : Floor
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : Floor
nameWithType : Light.Floor
fullName : TinyLife.Objects.Light.Floor
type : Field
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2023-10-11 16:05:32 +02:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
id : Floor
path : ../TinyLife/Objects/Light.cs
startLine : 52
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : The floor this light is on.
2023-10-11 16:05:32 +02:00
example : [ ]
syntax :
content : public float Floor
return :
type : System.Single
content.vb : Public Floor As Single
2022-06-09 20:12:10 +02:00
- uid : TinyLife.Objects.Light.DrawPosOffset
commentId : F:TinyLife.Objects.Light.DrawPosOffset
id : DrawPosOffset
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : DrawPosOffset
nameWithType : Light.DrawPosOffset
fullName : TinyLife.Objects.Light.DrawPosOffset
type : Field
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2022-06-09 20:12:10 +02:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
id : DrawPosOffset
path : ../TinyLife/Objects/Light.cs
2023-10-11 16:05:32 +02:00
startLine : 57
2022-06-09 20:12:10 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : >-
An offset from this light's <xref href="TinyLife.Objects.Light.Position" data-throw-if-not-resolved="false"></xref>, in world space, that is applied before the <xref href="TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2%2cSystem.Single%2cSystem.Boolean%2cSystem.Boolean%2cSystem.Boolean)" data-throw-if-not-resolved="false"></xref> call.
This can be used if the light should be drawn in a different location than its <xref href="TinyLife.Objects.Light.Position" data-throw-if-not-resolved="false"></xref>, which also determines the room and section that it is in.
2022-06-10 12:18:26 +02:00
example : [ ]
2022-06-09 20:12:10 +02:00
syntax :
content : public Vector2 DrawPosOffset
return :
2022-09-05 14:19:42 +02:00
type : Microsoft.Xna.Framework.Vector2
2022-06-09 20:12:10 +02:00
content.vb : Public DrawPosOffset As Vector2
2021-08-04 06:51:12 +02:00
- uid : TinyLife.Objects.Light.Size
commentId : F:TinyLife.Objects.Light.Size
id : Size
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : Size
nameWithType : Light.Size
fullName : TinyLife.Objects.Light.Size
type : Field
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2021-11-26 23:42:22 +01:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id : Size
2022-03-09 16:13:05 +01:00
path : ../TinyLife/Objects/Light.cs
2023-10-11 16:05:32 +02:00
startLine : 62
2021-08-04 06:51:12 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : >-
The size, in world space, of this light, centered on its <xref href="TinyLife.Objects.Light.Position" data-throw-if-not-resolved="false"></xref>.
This value is multiplied with <xref href="TinyLife.World.Tile.Width" data-throw-if-not-resolved="false"></xref> and <xref href="TinyLife.World.Tile.Height" data-throw-if-not-resolved="false"></xref>.
2021-08-04 06:51:12 +02:00
example : [ ]
syntax :
content : public Vector2 Size
return :
2022-09-05 14:19:42 +02:00
type : Microsoft.Xna.Framework.Vector2
2021-08-04 06:51:12 +02:00
content.vb : Public Size As Vector2
2022-06-09 20:12:10 +02:00
- uid : TinyLife.Objects.Light.Rotation
commentId : F:TinyLife.Objects.Light.Rotation
id : Rotation
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : Rotation
nameWithType : Light.Rotation
fullName : TinyLife.Objects.Light.Rotation
type : Field
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2022-06-09 20:12:10 +02:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
id : Rotation
path : ../TinyLife/Objects/Light.cs
2023-10-11 16:05:32 +02:00
startLine : 67
2022-06-09 20:12:10 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : >-
The rotation that this light displays with, in radians.
Rotation is applied around the center of the light's <xref href="TinyLife.Objects.Light.Texture" data-throw-if-not-resolved="false"></xref>.
2022-06-10 12:18:26 +02:00
example : [ ]
2022-06-09 20:12:10 +02:00
syntax :
content : public float Rotation
return :
type : System.Single
content.vb : Public Rotation As Single
2021-08-04 06:51:12 +02:00
- uid : TinyLife.Objects.Light.Color
commentId : F:TinyLife.Objects.Light.Color
id : Color
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : Color
nameWithType : Light.Color
fullName : TinyLife.Objects.Light.Color
type : Field
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2021-11-26 23:42:22 +01:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id : Color
2022-03-09 16:13:05 +01:00
path : ../TinyLife/Objects/Light.cs
2023-10-11 16:05:32 +02:00
startLine : 72
2021-08-04 06:51:12 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : >-
The color that this light renders with.
Note that, when drawing, this color is passed through <xref href="MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color)" data-throw-if-not-resolved="false"></xref> due to the way the lightmap is drawn.
2021-08-04 06:51:12 +02:00
example : [ ]
syntax :
content : public Color Color
return :
2022-09-05 14:19:42 +02:00
type : Microsoft.Xna.Framework.Color
2021-08-04 06:51:12 +02:00
content.vb : Public Color As Color
- uid : TinyLife.Objects.Light.IsDisabled
commentId : F:TinyLife.Objects.Light.IsDisabled
id : IsDisabled
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : IsDisabled
nameWithType : Light.IsDisabled
fullName : TinyLife.Objects.Light.IsDisabled
type : Field
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2021-11-26 23:42:22 +01:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id : IsDisabled
2022-03-09 16:13:05 +01:00
path : ../TinyLife/Objects/Light.cs
2023-10-11 16:05:32 +02:00
startLine : 77
2021-08-04 06:51:12 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : >-
Whether this light is currently disabled.
If a light is disabled, it will not be rendered.
2021-08-04 06:51:12 +02:00
example : [ ]
syntax :
content : public bool IsDisabled
return :
type : System.Boolean
content.vb : Public IsDisabled As Boolean
2023-08-15 13:17:22 +02:00
- uid : TinyLife.Objects.Light.Scale
commentId : F:TinyLife.Objects.Light.Scale
id : Scale
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : Scale
nameWithType : Light.Scale
fullName : TinyLife.Objects.Light.Scale
type : Field
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2023-08-15 13:17:22 +02:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
id : Scale
path : ../TinyLife/Objects/Light.cs
2023-10-11 16:05:32 +02:00
startLine : 81
2023-08-15 13:17:22 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : The scale that this light is drawn with.
2023-08-15 13:17:22 +02:00
example : [ ]
syntax :
content : public float Scale
return :
type : System.Single
content.vb : Public Scale As Single
2023-10-11 16:05:32 +02:00
- uid : TinyLife.Objects.Light.#ctor(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,MLEM.Textures.TextureRegion,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Color)
commentId : M:TinyLife.Objects.Light.#ctor(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,MLEM.Textures.TextureRegion,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Color)
id : '#ctor(TinyLife.World.Map,Microsoft.Xna.Framework.Vector2,System.Single,MLEM.Textures.TextureRegion,Microsoft.Xna.Framework.Vector2,Microsoft.Xna.Framework.Color)'
2021-08-04 06:51:12 +02:00
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
2023-10-11 16:05:32 +02:00
name : Light(Map, Vector2, float, TextureRegion, Vector2, Color)
nameWithType : Light.Light(Map, Vector2, float, TextureRegion, Vector2, Color)
fullName : TinyLife.Objects.Light.Light(TinyLife.World.Map, Microsoft.Xna.Framework.Vector2, float, MLEM.Textures.TextureRegion, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color)
2021-08-04 06:51:12 +02:00
type : Constructor
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2021-11-26 23:42:22 +01:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id : .ctor
2022-03-09 16:13:05 +01:00
path : ../TinyLife/Objects/Light.cs
2023-10-11 16:05:32 +02:00
startLine : 94
2021-08-04 06:51:12 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : Creates a new light with the given settings
2021-08-04 06:51:12 +02:00
example : [ ]
syntax :
2023-10-11 16:05:32 +02:00
content : public Light(Map map, Vector2 position, float floor, TextureRegion texture, Vector2 size, Color color)
2021-08-04 06:51:12 +02:00
parameters :
- id : map
type : TinyLife.World.Map
description : The map to add the light to
- id : position
2022-09-05 14:19:42 +02:00
type : Microsoft.Xna.Framework.Vector2
2024-01-07 16:53:47 +01:00
description : The light's position, in world space
2023-10-11 16:05:32 +02:00
- id : floor
type : System.Single
description : The floor this light is on.
2021-08-04 06:51:12 +02:00
- id : texture
type : MLEM.Textures.TextureRegion
2024-01-07 16:53:47 +01:00
description : The light's texture
2021-08-04 06:51:12 +02:00
- id : size
2022-09-05 14:19:42 +02:00
type : Microsoft.Xna.Framework.Vector2
2024-01-07 16:53:47 +01:00
description : The size of the light, centered on its <code class="paramref">position</code>
2021-08-04 06:51:12 +02:00
- id : color
2022-09-05 14:19:42 +02:00
type : Microsoft.Xna.Framework.Color
2021-08-04 06:51:12 +02:00
description : The color to render the light with
2023-10-11 16:05:32 +02:00
content.vb : Public Sub New(map As Map, position As Vector2, floor As Single, texture As TextureRegion, size As Vector2, color As Color)
2021-08-04 06:51:12 +02:00
overload : TinyLife.Objects.Light.#ctor*
2023-10-11 16:05:32 +02:00
nameWithType.vb : Light.New(Map, Vector2, Single, TextureRegion, Vector2, Color)
fullName.vb : TinyLife.Objects.Light.New(TinyLife.World.Map, Microsoft.Xna.Framework.Vector2, Single, MLEM.Textures.TextureRegion, Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Color)
name.vb : New(Map, Vector2, Single, TextureRegion, Vector2, Color)
2022-09-05 14:19:42 +02:00
- uid : TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
commentId : M:TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
id : Draw(Microsoft.Xna.Framework.GameTime,Microsoft.Xna.Framework.Graphics.SpriteBatch)
2021-08-04 06:51:12 +02:00
parent : TinyLife.Objects.Light
langs :
- csharp
- vb
name : Draw(GameTime, SpriteBatch)
nameWithType : Light.Draw(GameTime, SpriteBatch)
2022-09-05 14:19:42 +02:00
fullName : TinyLife.Objects.Light.Draw(Microsoft.Xna.Framework.GameTime, Microsoft.Xna.Framework.Graphics.SpriteBatch)
2021-08-04 06:51:12 +02:00
type : Method
source :
remote :
path : TinyLife/Objects/Light.cs
2023-12-06 13:25:52 +01:00
branch : main
2021-11-26 23:42:22 +01:00
repo : https://git.ellpeck.de/Ellpeck/TinyLife
2021-08-04 06:51:12 +02:00
id : Draw
2022-03-09 16:13:05 +01:00
path : ../TinyLife/Objects/Light.cs
2023-10-11 16:05:32 +02:00
startLine : 108
2021-08-04 06:51:12 +02:00
assemblies :
- Tiny Life
namespace : TinyLife.Objects
2024-01-07 16:53:47 +01:00
summary : Draws the light in the world with the given sprite batch, at its current <xref href="TinyLife.Objects.Light.Position" data-throw-if-not-resolved="false"></xref> and with its current <xref href="TinyLife.Objects.Light.Color" data-throw-if-not-resolved="false"></xref>
2021-08-04 06:51:12 +02:00
example : [ ]
syntax :
content : public virtual void Draw(GameTime time, SpriteBatch batch)
parameters :
- id : time
2022-09-05 14:19:42 +02:00
type : Microsoft.Xna.Framework.GameTime
2024-01-07 16:53:47 +01:00
description : The game's current time, which can be used for animations
2021-08-04 06:51:12 +02:00
- id : batch
2022-09-05 14:19:42 +02:00
type : Microsoft.Xna.Framework.Graphics.SpriteBatch
2021-08-04 06:51:12 +02:00
description : The sprite batch to draw the light with
content.vb : Public Overridable Sub Draw(time As GameTime, batch As SpriteBatch)
overload : TinyLife.Objects.Light.Draw*
references :
- uid : TinyLife.World.Map
commentId : T:TinyLife.World.Map
parent : TinyLife.World
2024-01-07 16:53:47 +01:00
href : TinyLife.World.Map.html
2021-08-04 06:51:12 +02:00
name : Map
nameWithType : Map
fullName : TinyLife.World.Map
- uid : TinyLife.World.Map.AddLight(TinyLife.Objects.Light)
commentId : M:TinyLife.World.Map.AddLight(TinyLife.Objects.Light)
2024-01-07 16:53:47 +01:00
href : TinyLife.World.Map.html#TinyLife_World_Map_AddLight_TinyLife_Objects_Light_
2023-03-30 18:07:55 +02:00
name : AddLight(Light)
nameWithType : Map.AddLight(Light)
fullName : TinyLife.World.Map.AddLight(TinyLife.Objects.Light)
spec.csharp :
- uid : TinyLife.World.Map.AddLight(TinyLife.Objects.Light)
name : AddLight
2024-01-07 16:53:47 +01:00
href : TinyLife.World.Map.html#TinyLife_World_Map_AddLight_TinyLife_Objects_Light_
2023-03-30 18:07:55 +02:00
- name : (
- uid : TinyLife.Objects.Light
name : Light
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html
2023-03-30 18:07:55 +02:00
- name : )
spec.vb :
- uid : TinyLife.World.Map.AddLight(TinyLife.Objects.Light)
name : AddLight
2024-01-07 16:53:47 +01:00
href : TinyLife.World.Map.html#TinyLife_World_Map_AddLight_TinyLife_Objects_Light_
2023-03-30 18:07:55 +02:00
- name : (
- uid : TinyLife.Objects.Light
name : Light
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html
2023-03-30 18:07:55 +02:00
- name : )
2021-08-04 06:51:12 +02:00
- uid : TinyLife.Objects
commentId : N : TinyLife.Objects
2024-01-07 16:53:47 +01:00
href : TinyLife.html
2021-08-04 06:51:12 +02:00
name : TinyLife.Objects
nameWithType : TinyLife.Objects
fullName : TinyLife.Objects
2023-03-30 18:07:55 +02:00
spec.csharp :
- uid : TinyLife
name : TinyLife
2024-01-07 16:53:47 +01:00
href : TinyLife.html
2023-03-30 18:07:55 +02:00
- name : .
- uid : TinyLife.Objects
name : Objects
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.html
2023-03-30 18:07:55 +02:00
spec.vb :
- uid : TinyLife
name : TinyLife
2024-01-07 16:53:47 +01:00
href : TinyLife.html
2023-03-30 18:07:55 +02:00
- name : .
- uid : TinyLife.Objects
name : Objects
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.html
2021-08-04 06:51:12 +02:00
- uid : System.Object
commentId : T:System.Object
parent : System
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object
name : object
nameWithType : object
fullName : object
nameWithType.vb : Object
fullName.vb : Object
name.vb : Object
2021-08-04 06:51:12 +02:00
- uid : System.Object.Equals(System.Object)
commentId : M:System.Object.Equals(System.Object)
parent : System.Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
name : Equals(object)
nameWithType : object.Equals(object)
fullName : object.Equals(object)
nameWithType.vb : Object.Equals(Object)
fullName.vb : Object.Equals(Object)
name.vb : Equals(Object)
2021-08-04 06:51:12 +02:00
spec.csharp :
- uid : System.Object.Equals(System.Object)
name : Equals
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
2021-08-04 06:51:12 +02:00
- name : (
- uid : System.Object
2023-03-30 18:07:55 +02:00
name : object
2021-08-04 06:51:12 +02:00
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name : )
spec.vb :
- uid : System.Object.Equals(System.Object)
name : Equals
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)
2021-08-04 06:51:12 +02:00
- name : (
- uid : System.Object
name : Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name : )
- uid : System.Object.Equals(System.Object,System.Object)
commentId : M:System.Object.Equals(System.Object,System.Object)
parent : System.Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
name : Equals(object, object)
nameWithType : object.Equals(object, object)
fullName : object.Equals(object, object)
nameWithType.vb : Object.Equals(Object, Object)
fullName.vb : Object.Equals(Object, Object)
name.vb : Equals(Object, Object)
2021-08-04 06:51:12 +02:00
spec.csharp :
- uid : System.Object.Equals(System.Object,System.Object)
name : Equals
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
2021-08-04 06:51:12 +02:00
- name : (
- uid : System.Object
2023-03-30 18:07:55 +02:00
name : object
2021-08-04 06:51:12 +02:00
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object
- name : ','
- name : " "
2021-08-04 06:51:12 +02:00
- uid : System.Object
2023-03-30 18:07:55 +02:00
name : object
2021-08-04 06:51:12 +02:00
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name : )
spec.vb :
- uid : System.Object.Equals(System.Object,System.Object)
name : Equals
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)
2021-08-04 06:51:12 +02:00
- name : (
- uid : System.Object
name : Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object
- name : ','
- name : " "
2021-08-04 06:51:12 +02:00
- uid : System.Object
name : Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name : )
- uid : System.Object.GetHashCode
commentId : M:System.Object.GetHashCode
parent : System.Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.gethashcode
2021-08-04 06:51:12 +02:00
name : GetHashCode()
2023-03-30 18:07:55 +02:00
nameWithType : object.GetHashCode()
fullName : object.GetHashCode()
nameWithType.vb : Object.GetHashCode()
fullName.vb : Object.GetHashCode()
2021-08-04 06:51:12 +02:00
spec.csharp :
- uid : System.Object.GetHashCode
name : GetHashCode
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.gethashcode
2021-08-04 06:51:12 +02:00
- name : (
- name : )
spec.vb :
- uid : System.Object.GetHashCode
name : GetHashCode
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.gethashcode
2021-08-04 06:51:12 +02:00
- name : (
- name : )
- uid : System.Object.GetType
commentId : M:System.Object.GetType
parent : System.Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.gettype
2021-08-04 06:51:12 +02:00
name : GetType()
2023-03-30 18:07:55 +02:00
nameWithType : object.GetType()
fullName : object.GetType()
nameWithType.vb : Object.GetType()
fullName.vb : Object.GetType()
2021-08-04 06:51:12 +02:00
spec.csharp :
- uid : System.Object.GetType
name : GetType
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.gettype
2021-08-04 06:51:12 +02:00
- name : (
- name : )
spec.vb :
- uid : System.Object.GetType
name : GetType
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.gettype
2021-08-04 06:51:12 +02:00
- name : (
- name : )
- uid : System.Object.MemberwiseClone
commentId : M:System.Object.MemberwiseClone
parent : System.Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
2021-08-04 06:51:12 +02:00
name : MemberwiseClone()
2023-03-30 18:07:55 +02:00
nameWithType : object.MemberwiseClone()
fullName : object.MemberwiseClone()
nameWithType.vb : Object.MemberwiseClone()
fullName.vb : Object.MemberwiseClone()
2021-08-04 06:51:12 +02:00
spec.csharp :
- uid : System.Object.MemberwiseClone
name : MemberwiseClone
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
2021-08-04 06:51:12 +02:00
- name : (
- name : )
spec.vb :
- uid : System.Object.MemberwiseClone
name : MemberwiseClone
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone
2021-08-04 06:51:12 +02:00
- name : (
- name : )
- uid : System.Object.ReferenceEquals(System.Object,System.Object)
commentId : M:System.Object.ReferenceEquals(System.Object,System.Object)
parent : System.Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.referenceequals
name : ReferenceEquals(object, object)
nameWithType : object.ReferenceEquals(object, object)
fullName : object.ReferenceEquals(object, object)
nameWithType.vb : Object.ReferenceEquals(Object, Object)
fullName.vb : Object.ReferenceEquals(Object, Object)
name.vb : ReferenceEquals(Object, Object)
2021-08-04 06:51:12 +02:00
spec.csharp :
- uid : System.Object.ReferenceEquals(System.Object,System.Object)
name : ReferenceEquals
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.referenceequals
2021-08-04 06:51:12 +02:00
- name : (
- uid : System.Object
2023-03-30 18:07:55 +02:00
name : object
2021-08-04 06:51:12 +02:00
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object
- name : ','
- name : " "
2021-08-04 06:51:12 +02:00
- uid : System.Object
2023-03-30 18:07:55 +02:00
name : object
2021-08-04 06:51:12 +02:00
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name : )
spec.vb :
- uid : System.Object.ReferenceEquals(System.Object,System.Object)
name : ReferenceEquals
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.referenceequals
2021-08-04 06:51:12 +02:00
- name : (
- uid : System.Object
name : Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object
- name : ','
- name : " "
2021-08-04 06:51:12 +02:00
- uid : System.Object
name : Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object
2021-08-04 06:51:12 +02:00
- name : )
- uid : System.Object.ToString
commentId : M:System.Object.ToString
parent : System.Object
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.tostring
2021-08-04 06:51:12 +02:00
name : ToString()
2023-03-30 18:07:55 +02:00
nameWithType : object.ToString()
fullName : object.ToString()
nameWithType.vb : Object.ToString()
fullName.vb : Object.ToString()
2021-08-04 06:51:12 +02:00
spec.csharp :
- uid : System.Object.ToString
name : ToString
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.tostring
2021-08-04 06:51:12 +02:00
- name : (
- name : )
spec.vb :
- uid : System.Object.ToString
name : ToString
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.object.tostring
2021-08-04 06:51:12 +02:00
- name : (
- name : )
- uid : TinyLife.Objects.Light.TinyLife.Utilities.Extensions.JsonCopy``1
commentId : M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
parent : TinyLife.Utilities.Extensions
definition : TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-03-30 18:07:55 +02:00
name : JsonCopy<Light>(Light)
nameWithType : Extensions.JsonCopy<Light>(Light)
fullName : TinyLife.Utilities.Extensions.JsonCopy<TinyLife.Objects.Light>(TinyLife.Objects.Light)
nameWithType.vb : Extensions.JsonCopy(Of Light)(Light)
fullName.vb : TinyLife.Utilities.Extensions.JsonCopy(Of TinyLife.Objects.Light)(TinyLife.Objects.Light)
name.vb : JsonCopy(Of Light)(Light)
2021-08-04 06:51:12 +02:00
spec.csharp :
2023-03-30 18:07:55 +02:00
- uid : TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.Light)
name : JsonCopy
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-03-30 18:07:55 +02:00
- name : <
- uid : TinyLife.Objects.Light
name : Light
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html
2023-03-30 18:07:55 +02:00
- name : '>'
2021-08-04 06:51:12 +02:00
- name : (
2023-03-30 18:07:55 +02:00
- uid : TinyLife.Objects.Light
name : Light
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html
2021-08-04 06:51:12 +02:00
- name : )
spec.vb :
2023-03-30 18:07:55 +02:00
- uid : TinyLife.Utilities.Extensions.JsonCopy``1(TinyLife.Objects.Light)
name : JsonCopy
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-03-30 18:07:55 +02:00
- name : (
- name : Of
- name : " "
- uid : TinyLife.Objects.Light
name : Light
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html
2023-03-30 18:07:55 +02:00
- name : )
2021-08-04 06:51:12 +02:00
- name : (
2023-03-30 18:07:55 +02:00
- uid : TinyLife.Objects.Light
name : Light
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html
2021-08-04 06:51:12 +02:00
- name : )
- uid : TinyLife.World
commentId : N : TinyLife.World
2024-01-07 16:53:47 +01:00
href : TinyLife.html
2021-08-04 06:51:12 +02:00
name : TinyLife.World
nameWithType : TinyLife.World
fullName : TinyLife.World
2023-03-30 18:07:55 +02:00
spec.csharp :
- uid : TinyLife
name : TinyLife
2024-01-07 16:53:47 +01:00
href : TinyLife.html
2023-03-30 18:07:55 +02:00
- name : .
- uid : TinyLife.World
name : World
2024-01-07 16:53:47 +01:00
href : TinyLife.World.html
2023-03-30 18:07:55 +02:00
spec.vb :
- uid : TinyLife
name : TinyLife
2024-01-07 16:53:47 +01:00
href : TinyLife.html
2023-03-30 18:07:55 +02:00
- name : .
- uid : TinyLife.World
name : World
2024-01-07 16:53:47 +01:00
href : TinyLife.World.html
2021-08-04 06:51:12 +02:00
- uid : System
commentId : N : System
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system
2021-08-04 06:51:12 +02:00
name : System
nameWithType : System
fullName : System
- uid : TinyLife.Utilities.Extensions.JsonCopy``1(``0)
commentId : M:TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2021-08-04 06:51:12 +02:00
name : JsonCopy<T>(T)
nameWithType : Extensions.JsonCopy<T>(T)
fullName : TinyLife.Utilities.Extensions.JsonCopy<T>(T)
nameWithType.vb : Extensions.JsonCopy(Of T)(T)
fullName.vb : TinyLife.Utilities.Extensions.JsonCopy(Of T)(T)
name.vb : JsonCopy(Of T)(T)
spec.csharp :
- uid : TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2023-03-30 18:07:55 +02:00
name : JsonCopy
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-03-30 18:07:55 +02:00
- name : <
- name : T
- name : '>'
2021-08-04 06:51:12 +02:00
- name : (
- name : T
- name : )
spec.vb :
- uid : TinyLife.Utilities.Extensions.JsonCopy``1(``0)
2023-03-30 18:07:55 +02:00
name : JsonCopy
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_JsonCopy__1___0_
2023-03-30 18:07:55 +02:00
- name : (
- name : Of
- name : " "
- name : T
- name : )
2021-08-04 06:51:12 +02:00
- name : (
- name : T
- name : )
- uid : TinyLife.Utilities.Extensions
commentId : T:TinyLife.Utilities.Extensions
parent : TinyLife.Utilities
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html
2021-08-04 06:51:12 +02:00
name : Extensions
nameWithType : Extensions
fullName : TinyLife.Utilities.Extensions
- uid : TinyLife.Utilities
commentId : N : TinyLife.Utilities
2024-01-07 16:53:47 +01:00
href : TinyLife.html
2021-08-04 06:51:12 +02:00
name : TinyLife.Utilities
nameWithType : TinyLife.Utilities
fullName : TinyLife.Utilities
2023-03-30 18:07:55 +02:00
spec.csharp :
- uid : TinyLife
name : TinyLife
2024-01-07 16:53:47 +01:00
href : TinyLife.html
2023-03-30 18:07:55 +02:00
- name : .
- uid : TinyLife.Utilities
name : Utilities
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.html
2023-03-30 18:07:55 +02:00
spec.vb :
- uid : TinyLife
name : TinyLife
2024-01-07 16:53:47 +01:00
href : TinyLife.html
2023-03-30 18:07:55 +02:00
- name : .
- uid : TinyLife.Utilities
name : Utilities
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.html
2021-08-04 06:51:12 +02:00
- uid : TinyLife.Objects.Light.Texture
commentId : F:TinyLife.Objects.Light.Texture
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html#TinyLife_Objects_Light_Texture
2023-03-30 18:07:55 +02:00
name : Texture
nameWithType : Light.Texture
fullName : TinyLife.Objects.Light.Texture
2021-08-04 06:51:12 +02:00
- uid : MLEM.Textures.TextureRegion
commentId : T:MLEM.Textures.TextureRegion
parent : MLEM.Textures
isExternal : true
name : TextureRegion
nameWithType : TextureRegion
fullName : MLEM.Textures.TextureRegion
- uid : MLEM.Textures
commentId : N : MLEM.Textures
isExternal : true
name : MLEM.Textures
nameWithType : MLEM.Textures
fullName : MLEM.Textures
2023-03-30 18:07:55 +02:00
spec.csharp :
- uid : MLEM
name : MLEM
isExternal : true
- name : .
- uid : MLEM.Textures
name : Textures
isExternal : true
spec.vb :
- uid : MLEM
name : MLEM
isExternal : true
- name : .
- uid : MLEM.Textures
name : Textures
isExternal : true
2021-08-04 06:51:12 +02:00
- uid : TinyLife.Objects.Light.CircleTexture
commentId : F:TinyLife.Objects.Light.CircleTexture
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html#TinyLife_Objects_Light_CircleTexture
2023-03-30 18:07:55 +02:00
name : CircleTexture
nameWithType : Light.CircleTexture
fullName : TinyLife.Objects.Light.CircleTexture
2021-08-04 06:51:12 +02:00
- uid : TinyLife.Objects.Light.Position
commentId : P:TinyLife.Objects.Light.Position
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html#TinyLife_Objects_Light_Position
2023-03-30 18:07:55 +02:00
name : Position
nameWithType : Light.Position
fullName : TinyLife.Objects.Light.Position
2022-09-05 14:19:42 +02:00
- uid : TinyLife.Utilities.Extensions.ToVisualY(Microsoft.Xna.Framework.Vector2)
commentId : M:TinyLife.Utilities.Extensions.ToVisualY(Microsoft.Xna.Framework.Vector2)
2021-08-04 06:51:12 +02:00
isExternal : true
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToVisualY_Microsoft_Xna_Framework_Vector2_
2023-03-30 18:07:55 +02:00
name : ToVisualY(Vector2)
nameWithType : Extensions.ToVisualY(Vector2)
fullName : TinyLife.Utilities.Extensions.ToVisualY(Microsoft.Xna.Framework.Vector2)
spec.csharp :
- uid : TinyLife.Utilities.Extensions.ToVisualY(Microsoft.Xna.Framework.Vector2)
name : ToVisualY
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToVisualY_Microsoft_Xna_Framework_Vector2_
2023-03-30 18:07:55 +02:00
- name : (
- uid : Microsoft.Xna.Framework.Vector2
name : Vector2
isExternal : true
- name : )
spec.vb :
- uid : TinyLife.Utilities.Extensions.ToVisualY(Microsoft.Xna.Framework.Vector2)
name : ToVisualY
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToVisualY_Microsoft_Xna_Framework_Vector2_
2023-03-30 18:07:55 +02:00
- name : (
- uid : Microsoft.Xna.Framework.Vector2
name : Vector2
isExternal : true
- name : )
2022-09-05 14:19:42 +02:00
- uid : Microsoft.Xna.Framework.Vector2
commentId : T:Microsoft.Xna.Framework.Vector2
parent : Microsoft.Xna.Framework
2021-08-04 06:51:12 +02:00
isExternal : true
name : Vector2
nameWithType : Vector2
2022-09-05 14:19:42 +02:00
fullName : Microsoft.Xna.Framework.Vector2
- uid : Microsoft.Xna.Framework
commentId : N : Microsoft.Xna.Framework
isExternal : true
name : Microsoft.Xna.Framework
nameWithType : Microsoft.Xna.Framework
fullName : Microsoft.Xna.Framework
2023-03-30 18:07:55 +02:00
spec.csharp :
- uid : Microsoft
name : Microsoft
isExternal : true
- name : .
- uid : Microsoft.Xna
name : Xna
isExternal : true
- name : .
- uid : Microsoft.Xna.Framework
name : Framework
isExternal : true
spec.vb :
- uid : Microsoft
name : Microsoft
isExternal : true
- name : .
- uid : Microsoft.Xna
name : Xna
isExternal : true
- name : .
- uid : Microsoft.Xna.Framework
name : Framework
isExternal : true
2021-08-04 06:51:12 +02:00
- uid : TinyLife.World.MapSection
commentId : T:TinyLife.World.MapSection
parent : TinyLife.World
2024-01-07 16:53:47 +01:00
href : TinyLife.World.MapSection.html
2021-08-04 06:51:12 +02:00
name : MapSection
nameWithType : MapSection
fullName : TinyLife.World.MapSection
- uid : TinyLife.Objects.Light.Position*
commentId : Overload:TinyLife.Objects.Light.Position
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html#TinyLife_Objects_Light_Position
2021-08-04 06:51:12 +02:00
name : Position
nameWithType : Light.Position
fullName : TinyLife.Objects.Light.Position
2023-10-11 16:05:32 +02:00
- uid : System.Single
commentId : T:System.Single
parent : System
2022-06-10 12:18:26 +02:00
isExternal : true
2023-10-11 16:05:32 +02:00
href : https://learn.microsoft.com/dotnet/api/system.single
name : float
nameWithType : float
fullName : float
nameWithType.vb : Single
fullName.vb : Single
name.vb : Single
- uid : TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
commentId : M:TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
isExternal : true
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToScreenPos_Microsoft_Xna_Framework_Vector2_System_Single_System_Boolean_System_Boolean_System_Boolean_
2023-10-11 16:05:32 +02:00
name : ToScreenPos(Vector2, float, bool, bool, bool)
nameWithType : Extensions.ToScreenPos(Vector2, float, bool, bool, bool)
fullName : TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2, float, bool, bool, bool)
nameWithType.vb : Extensions.ToScreenPos(Vector2, Single, Boolean, Boolean, Boolean)
fullName.vb : TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2, Single, Boolean, Boolean, Boolean)
name.vb : ToScreenPos(Vector2, Single, Boolean, Boolean, Boolean)
2023-03-30 18:07:55 +02:00
spec.csharp :
2023-10-11 16:05:32 +02:00
- uid : TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
2023-03-30 18:07:55 +02:00
name : ToScreenPos
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToScreenPos_Microsoft_Xna_Framework_Vector2_System_Single_System_Boolean_System_Boolean_System_Boolean_
2023-03-30 18:07:55 +02:00
- name : (
- uid : Microsoft.Xna.Framework.Vector2
name : Vector2
isExternal : true
- name : ','
- name : " "
2023-10-11 16:05:32 +02:00
- uid : System.Single
name : float
isExternal : true
href : https://learn.microsoft.com/dotnet/api/system.single
- name : ','
- name : " "
2023-03-30 18:07:55 +02:00
- uid : System.Boolean
name : bool
isExternal : true
href : https://learn.microsoft.com/dotnet/api/system.boolean
- name : ','
- name : " "
- uid : System.Boolean
name : bool
isExternal : true
href : https://learn.microsoft.com/dotnet/api/system.boolean
- name : ','
- name : " "
- uid : System.Boolean
name : bool
isExternal : true
href : https://learn.microsoft.com/dotnet/api/system.boolean
- name : )
spec.vb :
2023-10-11 16:05:32 +02:00
- uid : TinyLife.Utilities.Extensions.ToScreenPos(Microsoft.Xna.Framework.Vector2,System.Single,System.Boolean,System.Boolean,System.Boolean)
2023-03-30 18:07:55 +02:00
name : ToScreenPos
2024-01-07 16:53:47 +01:00
href : TinyLife.Utilities.Extensions.html#TinyLife_Utilities_Extensions_ToScreenPos_Microsoft_Xna_Framework_Vector2_System_Single_System_Boolean_System_Boolean_System_Boolean_
2023-03-30 18:07:55 +02:00
- name : (
- uid : Microsoft.Xna.Framework.Vector2
name : Vector2
isExternal : true
- name : ','
- name : " "
2023-10-11 16:05:32 +02:00
- uid : System.Single
name : Single
isExternal : true
href : https://learn.microsoft.com/dotnet/api/system.single
- name : ','
- name : " "
2023-03-30 18:07:55 +02:00
- uid : System.Boolean
name : Boolean
isExternal : true
href : https://learn.microsoft.com/dotnet/api/system.boolean
- name : ','
- name : " "
- uid : System.Boolean
name : Boolean
isExternal : true
href : https://learn.microsoft.com/dotnet/api/system.boolean
- name : ','
- name : " "
- uid : System.Boolean
name : Boolean
isExternal : true
href : https://learn.microsoft.com/dotnet/api/system.boolean
- name : )
2022-06-09 20:12:10 +02:00
- uid : TinyLife.World.Tile.Width
2022-12-20 13:25:03 +01:00
commentId : P:TinyLife.World.Tile.Width
2022-06-09 20:12:10 +02:00
parent : TinyLife.World.Tile
2024-01-07 16:53:47 +01:00
href : TinyLife.World.Tile.html#TinyLife_World_Tile_Width
2022-06-09 20:12:10 +02:00
name : Width
nameWithType : Tile.Width
fullName : TinyLife.World.Tile.Width
- uid : TinyLife.World.Tile.Height
2022-12-20 13:25:03 +01:00
commentId : P:TinyLife.World.Tile.Height
2022-06-09 20:12:10 +02:00
parent : TinyLife.World.Tile
2024-01-07 16:53:47 +01:00
href : TinyLife.World.Tile.html#TinyLife_World_Tile_Height
2022-06-09 20:12:10 +02:00
name : Height
nameWithType : Tile.Height
fullName : TinyLife.World.Tile.Height
- uid : TinyLife.World.Tile
commentId : T:TinyLife.World.Tile
parent : TinyLife.World
2024-01-07 16:53:47 +01:00
href : TinyLife.World.Tile.html
2022-06-09 20:12:10 +02:00
name : Tile
nameWithType : Tile
fullName : TinyLife.World.Tile
2021-08-04 06:51:12 +02:00
- uid : MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color)
commentId : M:MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color)
isExternal : true
2023-03-30 18:07:55 +02:00
name : Invert(Color)
nameWithType : ColorExtensions.Invert(Color)
fullName : MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color)
spec.csharp :
- uid : MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color)
name : Invert
isExternal : true
- name : (
- uid : Microsoft.Xna.Framework.Color
name : Color
isExternal : true
- name : )
spec.vb :
- uid : MLEM.Extensions.ColorExtensions.Invert(Microsoft.Xna.Framework.Color)
name : Invert
isExternal : true
- name : (
- uid : Microsoft.Xna.Framework.Color
name : Color
isExternal : true
- name : )
2022-09-05 14:19:42 +02:00
- uid : Microsoft.Xna.Framework.Color
commentId : T:Microsoft.Xna.Framework.Color
parent : Microsoft.Xna.Framework
2021-08-04 06:51:12 +02:00
isExternal : true
name : Color
nameWithType : Color
2022-09-05 14:19:42 +02:00
fullName : Microsoft.Xna.Framework.Color
2021-08-04 06:51:12 +02:00
- uid : System.Boolean
commentId : T:System.Boolean
parent : System
isExternal : true
2023-03-30 18:07:55 +02:00
href : https://learn.microsoft.com/dotnet/api/system.boolean
name : bool
nameWithType : bool
fullName : bool
nameWithType.vb : Boolean
fullName.vb : Boolean
name.vb : Boolean
2021-08-04 06:51:12 +02:00
- uid : TinyLife.Objects.Light.#ctor*
commentId : Overload:TinyLife.Objects.Light.#ctor
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html#TinyLife_Objects_Light__ctor_TinyLife_World_Map_Microsoft_Xna_Framework_Vector2_System_Single_MLEM_Textures_TextureRegion_Microsoft_Xna_Framework_Vector2_Microsoft_Xna_Framework_Color_
2021-08-04 06:51:12 +02:00
name : Light
nameWithType : Light.Light
fullName : TinyLife.Objects.Light.Light
2023-03-30 18:07:55 +02:00
nameWithType.vb : Light.New
fullName.vb : TinyLife.Objects.Light.New
name.vb : New
2021-08-04 06:51:12 +02:00
- uid : TinyLife.Objects.Light.Color
commentId : F:TinyLife.Objects.Light.Color
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html#TinyLife_Objects_Light_Color
2023-03-30 18:07:55 +02:00
name : Color
nameWithType : Light.Color
fullName : TinyLife.Objects.Light.Color
2021-08-04 06:51:12 +02:00
- uid : TinyLife.Objects.Light.Draw*
commentId : Overload:TinyLife.Objects.Light.Draw
2024-01-07 16:53:47 +01:00
href : TinyLife.Objects.Light.html#TinyLife_Objects_Light_Draw_Microsoft_Xna_Framework_GameTime_Microsoft_Xna_Framework_Graphics_SpriteBatch_
2021-08-04 06:51:12 +02:00
name : Draw
nameWithType : Light.Draw
fullName : TinyLife.Objects.Light.Draw
2022-09-05 14:19:42 +02:00
- uid : Microsoft.Xna.Framework.GameTime
commentId : T:Microsoft.Xna.Framework.GameTime
parent : Microsoft.Xna.Framework
2021-08-04 06:51:12 +02:00
isExternal : true
name : GameTime
nameWithType : GameTime
2022-09-05 14:19:42 +02:00
fullName : Microsoft.Xna.Framework.GameTime
- uid : Microsoft.Xna.Framework.Graphics.SpriteBatch
commentId : T:Microsoft.Xna.Framework.Graphics.SpriteBatch
parent : Microsoft.Xna.Framework.Graphics
2021-08-04 06:51:12 +02:00
isExternal : true
name : SpriteBatch
nameWithType : SpriteBatch
2022-09-05 14:19:42 +02:00
fullName : Microsoft.Xna.Framework.Graphics.SpriteBatch
- uid : Microsoft.Xna.Framework.Graphics
commentId : N : Microsoft.Xna.Framework.Graphics
isExternal : true
name : Microsoft.Xna.Framework.Graphics
nameWithType : Microsoft.Xna.Framework.Graphics
fullName : Microsoft.Xna.Framework.Graphics
2023-03-30 18:07:55 +02:00
spec.csharp :
- uid : Microsoft
name : Microsoft
isExternal : true
- name : .
- uid : Microsoft.Xna
name : Xna
isExternal : true
- name : .
- uid : Microsoft.Xna.Framework
name : Framework
isExternal : true
- name : .
- uid : Microsoft.Xna.Framework.Graphics
name : Graphics
isExternal : true
spec.vb :
- uid : Microsoft
name : Microsoft
isExternal : true
- name : .
- uid : Microsoft.Xna
name : Xna
isExternal : true
- name : .
- uid : Microsoft.Xna.Framework
name : Framework
isExternal : true
- name : .
- uid : Microsoft.Xna.Framework.Graphics
name : Graphics
isExternal : true