Candide.PlayerMode.Construction.Constructing.RectangleDrawingHandler
Type JSONpublic class in Candide.PlayerMode.Construction.Constructing
Type metadata
- Assembly
Romestead - Namespace
Candide.PlayerMode.Construction.Constructing - Base type
System.Object - Hash
48A4161115B8E4CD68FBD5F83B4FE3CA06E6787CBEBA0784F7CD5AA4D9E2D97E
Relationships
Base type
System.Object
Fields
| Name | Visibility | Signature |
|---|---|---|
_drawingRectangle# | private | private System.Boolean _drawingRectangle |
_rectangleTopLeftStart# | private | private Microsoft.Xna.Framework.Point _rectangleTopLeftStart |
_xAmount# | private | private System.Int32 _xAmount |
_xSign# | private | private System.Int32 _xSign |
_yAmount# | private | private System.Int32 _yAmount |
_ySign# | private | private System.Int32 _ySign |
Methods
DrawInWorldUi
#
public System.Void DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch batch, Candide.PlayerMode.Construction.PlacingConstruction placingConstruction, Candide.PlayerMode.Construction.Constructing.ConstructingHandler handler)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
B1D1E770198335E46D13A47A81E405D1D19F4B4D04D5FA1BCDCF8EAEE351D90F - Body hash
A3CEFD30AD342CF6632ABBBF8348DB3BF26954E6CA7BA06B9AAC96BEBF8C529E - IL size174
Referenced calls
Candide.PlayerMode.Construction.Constructing.SharedDrawingHandler::DrawInWorldUi(Microsoft.Xna.Framework.Graphics.SpriteBatch, Candide.PlayerMode.Construction.PlacingConstruction, Microsoft.Xna.Framework.Point, System.String)Shared.Models.Construction.ConstructionSpaceInfo::get_GetMainArea()Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)Microsoft.Xna.Framework.Point::op_Addition(Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point)Candide.PlayerMode.Construction.Constructing.ConstructingHandler::GetBiomeCategory(Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Point)
Reset
#
public System.Void Reset()
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
F58FFA17CE190E2E9664C44EBEA6A5F7EA37E94A4ECFED835907C537D8CCA5ED - Body hash
082E356C11F174157AE37C47EC8EC113A035FAF16B6A58929A63E6F60838239E - IL size19
Referenced calls
Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)
Update
#
public System.Void Update(Candide.PlayerMode.Construction.PlacingConstruction placingConstruction, CandideServer.Models.Town.TownModel town, Candide.PlayerMode.Construction.Constructing.ConstructingHandler handler)
Method metadata
- Visibilitypublic
- Return type
System.Void - StaticTrue
- VirtualFalse
- Hash
2989E00D42E649DF574DD5D1D7FB06EB47303876DBA754F72FD54ED515323F1A - Body hash
BEA1EB71648E015354DAB45D345475C23242D439A61446A8AFB7406B5C0A41CC - IL size467
Referenced calls
Candide.Input.SuperKeybind::Pressed()Candide.PlayerMode.Construction.Constructing.RectangleDrawingHandler::Reset()Shared.Models.Construction.ConstructionSpaceInfo::get_GetMainArea()Candide.Input.SuperKeybind::Released()Microsoft.Xna.Framework.Point::op_Equality(Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point)System.Nullable<System.Guid>::.ctor(!0)Candide.PlayerMode.Construction.PlacingConstruction::Place(Microsoft.Xna.Framework.Point, System.Nullable<System.Guid>, System.String)Microsoft.Xna.Framework.Point::.ctor(System.Int32, System.Int32)Microsoft.Xna.Framework.Point::op_Addition(Microsoft.Xna.Framework.Point, Microsoft.Xna.Framework.Point)Candide.PlayerMode.Construction.Constructing.ConstructingHandler::GetBiomeCategory(Microsoft.Xna.Framework.Rectangle, Microsoft.Xna.Framework.Point)System.Math::Sign(System.Int32)System.Math::Abs(System.Int32)