Candide.Input.PlayerPlacingControllerManager
Type JSONpublic class in Candide.Input
Type metadata
- Assembly
Romestead - Namespace
Candide.Input - Base type
System.Object - Interfaces
Candide.Input.IInputController - Hash
751B0052205082ACAA049E3EEDF34B36B238E3EDEC8AC90181697007246D8D67
Relationships
Base type
System.Object
Interfaces
Fields
| Name | Visibility | Signature |
|---|---|---|
ControllerPlacingScreenPosition# | public | public Microsoft.Xna.Framework.Vector2 ControllerPlacingScreenPosition |
Instance# | public | public Candide.Input.PlayerPlacingControllerManager Instance |
IsMouseActive# | public | public System.Boolean IsMouseActive |
MouseWasDeactivated# | public | public System.Boolean MouseWasDeactivated |
Properties
| Name | Visibility | Signature |
|---|---|---|
PlacingPosition# | public | public Microsoft.Xna.Framework.Vector2 PlacingPosition |
Methods
Activate
#
public System.Void Activate()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
F7F8587E465742C3ABFC96AA7E9E271A493C0F01F16C9C19111CEDB464559665 - Body hash
EE639084411EB820D7EE4FFEB75B233034FD99022B8BB9F13DC23CE80DF08B1E - IL size77
Referenced calls
Candide.Input.PlayerInputControllerManager::set_CurrentController(Candide.Input.IInputController)Shared.Entity.EntityWrapper::get_Direction()CandideCreator.Shared.Helpers.VectorExtension::DirectionToVector2(System.Single)Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Candide.CandideUI.ControllerUiInputSystem::set_DisableUiTemporarily(System.Boolean)
CheckMovementKey
#
private System.Void CheckMovementKey(Candide.Input.Keybind key, Candide.Input.Keybind counterKey, Microsoft.Xna.Framework.Vector2& delta, System.Single x, System.Single y)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
C84AFE6933D4AA37D3598F734676C553AB711CA6C6AC3665AB4F5EB5893B3AFF - Body hash
910A042DF6EA70E1405CC42710EF023594782209558C0E6076DE0ABA72E0E4D2 - IL size40
Referenced calls
Deactivate
#
public System.Void Deactivate()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
684BE616FB0C0658A71A8B4C511567B8D2038B37E77DAA760B837BFBF5970037 - Body hash
2A9FE6FA360D4B211BF46A7D60F6C693A16D0AEDA93FCAE43A9AE62C354EAE58 - IL size7
Referenced calls
Candide.CandideUI.ControllerUiInputSystem::set_DisableUiTemporarily(System.Boolean)
GetMovementDelta
#
public Microsoft.Xna.Framework.Vector2 GetMovementDelta()
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticTrue
- VirtualFalse
- Hash
C3F821ED2AF655810FB9AA602BB52C90C981D245B36B7DB6C6A10858D5CFEC52 - Body hash
5A1360F285A2E6D25ED7848B64F62427CC14581BBFAEC1E6F9837C506D70F040 - IL size317
Referenced calls
Microsoft.Xna.Framework.Vector2::get_Zero()Candide.Accessibility.ControllerInputManager::get_IsUsingController()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Inequality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::op_Equality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.Input.Keybind::Up()Candide.Input.PlayerPlacingControllerManager::CheckMovementKey(Candide.Input.Keybind, Candide.Input.Keybind, Microsoft.Xna.Framework.Vector2&, System.Single, System.Single)
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
89014667E2F48BA27CE8036AA356B09D1FF3BDA657AC2C33A13397835AE53D4D - Body hash
05A70367F56B1DCE443D937F6329836F8C6943D55E8DDA1B9C049B32F0D31C39 - IL size255
Referenced calls
Candide.Input.PlayerPlacingControllerManager::GetMovementDelta()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Graphics.GraphicsDevice::get_Viewport()Microsoft.Xna.Framework.Graphics.Viewport::get_Width()System.MathF::Max(System.Single, System.Single)Microsoft.Xna.Framework.Graphics.Viewport::get_Height()System.MathF::Min(System.Single, System.Single)