Wall¶
-
class
Wall
: System.Object, IEntity, IHasTransform Represents a wall which blocks raycasts by AI agents.
-
Vector2
Start
-
Vector2
End
-
bool
DebugRender
-
Color
DebugRenderWallColor
-
Color
DebugRenderWallNormalColor
-
float
X
-
float
Y
-
float
Z
-
readonly Vector2
Normal
-
readonly Protogame.ITransform
Transform
-
readonly Protogame.IFinalTransform
FinalTransform
-
public void
Render
(IGameContext gameContext, IRenderContext renderContext) Parameters: - gameContext (Protogame.IGameContext) –
- renderContext (Protogame.IRenderContext) –
-
public Vector2
NormalOf
(Vector2 start, Vector2 end) Parameters: - start (Microsoft.Xna.Framework.Vector2) –
- end (Microsoft.Xna.Framework.Vector2) –
-
public void
Update
(IGameContext gameContext, IUpdateContext updateContext) Parameters: - gameContext (Protogame.IGameContext) –
- updateContext (Protogame.IUpdateContext) –
-
Vector2