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
class
RotateToPlayer
RotateToPlayer
ECS::System
Reference
Object
Defined in:
mechanics/player.cr
Instance Method Summary
#filter
(world) : ECS::Filter | Nil
#process
(entity)
Instance Method Detail
def
filter
(world) : ECS::Filter | Nil
#
[
View source
]
def
process
(entity)
#
[
View source
]