Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
restless
master
Top Level Namespace
AABB
Ability
AbilityAiming
AbilityDamage
AbilitySound
AIMode
AITriggerAbilities
AnyMelee
AnyRanged
ApplyExplosionDamage
ArcherMultishot
Array2D
AttackAnimation
BasicSystems
BearMG
Room
RoomLinks
Rooms
BetterFloor
Bomb
CameraPosition
CameraSystem
CollisionComponent
CollisionProcessor
Cooldown
CreateField
DamageBubble
Dead
DefaultControl
Engine
Body
ButtonResource
ButtonState
Collides
CollisionData
Color
DefaultShader
Font
FontDrawText
FontResource
GUI
HAlign
Key
Keys
KinematicBody
MaterialData
Mouse
MouseButtonState
PanelMetrics
Params
Physics
Polygon
RawResource
Sampler2d
Shader
Sound
Sprite
StaticBody
Texture
TileMap
UniformsArray
VAlign
Vec2
Vec3
Vec4
VertexList
VertexListPrimitive
EngineSystem
ExecutingAnimation
Explosion
ExplosionDamagePending
Explosive
F
FinishAiming1
FinishAiming2
FireTrigger
GameConfig
GameOver
GameStatistics
GameSystems
HasAI
Health
InitialMonsters
InitLevelSystem
InitMaterialsSystem
InitPlayerSystem
IntVector2
JustShown
KeyReactSystem
KeysConfig
LevelStatistics
LevelTile
MageMultishot
MainMenu
MapData
MaxHealth
MeasureGC
MeleeStrike
MonsterType
MoveByKeyboard
MovingOnPath
Music
NewGame
Number
PhysicsAddBodySystem
PhysicsAddBoxShapeRequest
PhysicsAddBoxShapesSystem
PhysicsAddCircleShapeRequest
PhysicsAddCircleShapesSystem
PhysicsAddLineShapeRequest
PhysicsAddLineShapesSystem
PhysicsApplyControl
PhysicsApplyControlRequest
PhysicsApplyForceRequest
PhysicsBodyAddRequest
PhysicsBodyComponent
PhysicsBodyRemoveRequest
PhysicsCollisionMaps
PhysicsConfigurator
PhysicsMaterial
PhysicsPositionComponent
PhysicsPositionEvent
PhysicsPositionReadRequest
PhysicsPositionRequest
PhysicsProcessControlSystem
PhysicsProcessForcesSystem
PhysicsProcessPositionsSystem
PhysicsRemoveBodySystem
PhysicSystems
PlayerBumpEnemy
PlayerTriggerAbilities
PlayerWon
PrevHit
ProcessAI
ProcessBodyTurn
ProcessBumps
ProcessCollisionsSystem
ProcessDamageDeath
ProcessGameOver
ProcessHardDamage
ProcessMainMenu
ProcessMelee
ProcessRays
ProcessShooting
ProcessShotHitsEnemy
ProcessShotMisses
ProcessTimeouts
ProcessVictory
QuitEvent
Ray
RayActive
RayFired
ReceiveMoveEvents
RemoveAtTime
RemoveByTime
RemoveRushes
RenderAbilities
RenderColor
RenderDamageBubbles
RenderExplosions
RenderField
RenderHealth
RenderLayer
RenderPosition
RenderRotation
RenderScale
RenderScore
RenderSprite
RenderSystem
RenderTile
RenderUnits
RES
Gui
Skills
RotateByMouse
RotateBySpeed
RotateToPlayer
Rush
Rushing
SeePlayer
ShaderAllShaders
ShootAbility
ShootRays
ShotDamage
ShotHitsEnemy
ShotHitsPlayer
ShotHitWall
ShouldQuitSystem
ShowCampaign
Sleep
SoundSettings
SpiritAbility
SpiritShot
SpiritShotHitsBody
SpiritShotHitsEnemy
StartAnimations
StartCooldowns
StartRush
SyncPositionWithPhysicsSystem
SyncRotationWithPhysicsSpeed
TakeHit
Tileset
TrackCameraSystem
TrackingCamera
UnitAiming
UnitPicture
Vector2
WorldTime
Generated using Crystal 1.10.1
2024-03-15 16:56:07 UTC
struct
PhysicsAddCircleShapeRequest
PhysicsAddCircleShapeRequest
ECS::Component
Struct
Value
Object
Defined in:
utils/physics_systems.cr
Constructors
.new
(dx : Float64, dy : Float64, r : Float64)
Class Method Summary
.component_index
Instance Method Summary
#clone
#copy_with
(dx _dx = @dx, dy _dy = @dy, r _r = @r)
#dx
: Float64
#dy
: Float64
#r
: Float64
Constructor Detail
def self.
new
(dx : Float64, dy : Float64, r : Float64)
#
[
View source
]
Class Method Detail
def self.
component_index
#
Instance Method Detail
def
clone
#
[
View source
]
def
copy_with
(dx _dx = @dx, dy _dy = @dy, r _r = @r)
#
[
View source
]
def
dx
: Float64
#
def
dy
: Float64
#
def
r
: Float64
#