Table of Contents

Class PhysicSetting

Namespace
Alis.Core.Ecs.System.Setting.Physic
Assembly
Alis.dll

The physic setting class

public class PhysicSetting : IPhysicSetting, IBuilder<PhysicSettingBuilder>

Inheritance

Implements

Inherited Members

Constructors

PhysicSetting()

Initializes a new instance of the Alis.Core.Ecs.System.Setting.Physic.PhysicSetting class

public PhysicSetting()

PhysicSetting(bool, Color, Vector2)

Initializes a new instance of the Alis.Core.Ecs.System.Setting.Physic.PhysicSetting class

public PhysicSetting(bool debugMode, Color debugColor, Vector2 gravity)

Parameters

debugMode bool

The debug mode

debugColor Color

The debug color

gravity Vector2

The gravity

Properties

DebugColor

Gets or sets the value of the debug color

[JsonPropertyName("_DebugColor_")]
public Color DebugColor { get; set; }

Property Value

Color

DebugMode

Gets or sets the value of the debug mode

[JsonPropertyName("_DebugMode_")]
public bool DebugMode { get; set; }

Property Value

bool

Gravity

Gets or sets the value of the gravity

[JsonPropertyName("_Gravity_")]
public Vector2 Gravity { get; set; }

Property Value

Vector2

Methods

Builder()

Builders this instance

public PhysicSettingBuilder Builder()

Returns

PhysicSettingBuilder

The physic setting builder

See Also

IBuilder<TOut>