Candide.Input.RtsPlayerInputController
Type JSONpublic class in Candide.Input
Type metadata
- Assembly
Romestead - Namespace
Candide.Input - Base type
System.Object - Interfaces
Candide.Input.IInputController - Hash
F646FACE1FF6DF6332A65BE9779D76FF922F6DF8DA9E2E89856FDBB0FF6F83B5
Relationships
Base type
System.Object
Interfaces
Fields
| Name | Visibility | Signature |
|---|---|---|
Active# | public | public System.Boolean Active |
CheckForControllerUiDisabled# | public | public System.Boolean CheckForControllerUiDisabled |
DefaultMaxDistance# | public | public System.Single DefaultMaxDistance |
Instance# | public | public Candide.Input.RtsPlayerInputController Instance |
IsMouseActive# | public | public System.Boolean IsMouseActive |
MaxDistance# | public | public System.Single MaxDistance |
MouseWasDeactivated# | public | public System.Boolean MouseWasDeactivated |
SpeedMultiplier# | public | public System.Single SpeedMultiplier |
_controllerRelativeCameraPosition# | private | private Microsoft.Xna.Framework.Vector2 _controllerRelativeCameraPosition |
_startingCenterPosition# | private | private Microsoft.Xna.Framework.Vector2 _startingCenterPosition |
Properties
| Name | Visibility | Signature |
|---|---|---|
ControllerPlacingPosition# | private | private Microsoft.Xna.Framework.Vector2 ControllerPlacingPosition |
ControllerRelativeCameraPosition# | private | private Microsoft.Xna.Framework.Vector2 ControllerRelativeCameraPosition |
PlacingPosition# | public | public Microsoft.Xna.Framework.Vector2 PlacingPosition |
Methods
Activate
#
public System.Void Activate()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
8EBE751694FFB4BA796EBAC33B9446294344EE3F25F849FB4411474FDAE67F58 - Body hash
BA50EA862911CDCCBC33A4CE775A56F26FD6627A140A4532470085112270A973 - IL size124
Referenced calls
Candide.Input.PlayerInputControllerManager::set_CurrentController(Candide.Input.IInputController)Microsoft.Xna.Framework.Vector2::get_Zero()Candide.Input.RtsPlayerInputController::set_ControllerRelativeCameraPosition(Microsoft.Xna.Framework.Vector2)System.Collections.Generic.HashSet<System.String>::Add(!0)CandideCreator.Shared.EditorGameCommunication.GameProperties::get_OverrideCamera()Candide.Graphics.Camera::FollowTarget(Shared.Entity.EntityWrapper)Candide.Graphics.Camera::get_PositionCenter()
Called by
String literals
RtsPlayerInputController
CheckMovementKey
#
private System.Void CheckMovementKey(Candide.Input.SuperKeybind key, Candide.Input.SuperKeybind counterKey, Microsoft.Xna.Framework.Vector2& delta, System.Single x, System.Single y)
Method metadata
- Visibilityprivate
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
AA9A2FF0A3D93FD15DD02C24BE2E875DAC40CA6B2407A67DF4AD3FA6B4217BB8 - Body hash
B58AE1141E95A5AD526875BCFE2AF10A2A9F83196C192E77C2E2280E3CA85756 - IL size40
Referenced calls
Deactivate
#
public System.Void Deactivate()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
900658B417337E08BE6CB2511FF80E7BBB406D88BDF1A57EFD64B1FEB9C8FAB4 - Body hash
4DDF3A0CF2DC7FF31BC8350B532E3B4B49668C0CA64EC8410A2C39E23454A03E - IL size23
Referenced calls
System.Collections.Generic.HashSet<System.String>::Remove(!0)
String literals
RtsPlayerInputController
GetMovementDelta
#
public Microsoft.Xna.Framework.Vector2 GetMovementDelta()
Method metadata
- Visibilitypublic
- Return type
Microsoft.Xna.Framework.Vector2 - StaticTrue
- VirtualFalse
- Hash
6534A01F489FF4CCED915EC93153FF1332A88F1BBD0353C46BD3F2BE10E609D5 - Body hash
0D524043EAA9465F15D3E443AF8596FD37FF48057312C6C78228110F4C449740 - IL size140
Referenced calls
Microsoft.Xna.Framework.Vector2::get_Zero()Candide.Accessibility.ControllerInputManager::get_IsUsingController()Candide.CandideUI.ControllerUiInputSystem::get_IsFocusingUi()Candide.Input.RtsPlayerInputController::CheckMovementKey(Candide.Input.SuperKeybind, Candide.Input.SuperKeybind, Microsoft.Xna.Framework.Vector2&, System.Single, System.Single)
ResetPlacingPosition
#
public System.Void ResetPlacingPosition()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
3E81CB62831E0CDFAB7DDCFB1D91024C215EAA9F20D0E600654D5FE8778D3558 - Body hash
0FD83E9F191ADA9870D6E6261D14BCCCBF0A5E1163C17102FAF2355128CA8AD7 - IL size12
Referenced calls
Microsoft.Xna.Framework.Vector2::get_Zero()Candide.Input.RtsPlayerInputController::set_ControllerRelativeCameraPosition(Microsoft.Xna.Framework.Vector2)
SetCameraToStartingPosition
#
public System.Void SetCameraToStartingPosition()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualFalse
- Hash
156C3278B1A9C110431BCFCEBC20AB9B0D8F3BFD13683F7DDD5F65654967A8C4 - Body hash
198D98EDA63578DDD80373F3B41A4D41BAFAA46ED759DD2B1D5543772216073C - IL size38
Referenced calls
Update
#
public System.Void Update(Microsoft.Xna.Framework.GameTime gameTime)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticFalse
- VirtualTrue
- Hash
B9DF6795548ED8A9861A80550058838FE7FEE7AC27BF2CC52326C6B2310355DD - Body hash
DFA02A8CAD8CB9BC6094CAE1CE7EC914C9EF7AC3514A36934A609DFC6597ED28 - IL size414
Referenced calls
Candide.Accessibility.ControllerInputManager::get_IsUsingController()Microsoft.Xna.Framework.Vector2::op_Multiply(Microsoft.Xna.Framework.Vector2, System.Single)Microsoft.Xna.Framework.Vector2::get_Zero()Microsoft.Xna.Framework.Vector2::op_Inequality(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.Input.RtsPlayerInputController::get_ControllerRelativeCameraPosition()Microsoft.Xna.Framework.Vector2::op_Addition(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Candide.Input.RtsPlayerInputController::set_ControllerRelativeCameraPosition(Microsoft.Xna.Framework.Vector2)Candide.CandideUI.ControllerUiInputSystem::get_DisableUiTemporarily()Candide.Input.RtsPlayerInputController::GetMovementDelta()CandideCreator.Shared.EditorGameCommunication.GameProperties::get_OverrideCamera()Candide.Input.SuperKeybind::Down()Candide.Graphics.Camera::Move(System.Single, System.Single)Candide.Graphics.Camera::get_PositionCenter()Shared.Entity.EntityWrapper::get_Position2()Microsoft.Xna.Framework.Vector2::Distance(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::op_Subtraction(Microsoft.Xna.Framework.Vector2, Microsoft.Xna.Framework.Vector2)Microsoft.Xna.Framework.Vector2::op_Division(Microsoft.Xna.Framework.Vector2, System.Single)Candide.Graphics.Camera::SetCenter(System.Single, System.Single)