File tree Expand file tree Collapse file tree 1 file changed +11
-1
lines changed
packages/isaac-typescript-definitions/src/types/classes Expand file tree Collapse file tree 1 file changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -120,7 +120,17 @@ declare global {
120120 slowColor : Color ,
121121 ) => void ;
122122
123- AddVelocity : ( velocity : Vector ) => void ;
123+ /**
124+ * Adds velocity to the entity. This can be used to move them in a certain direction. (For
125+ * example, as a result of collision.)
126+ *
127+ * @param velocity
128+ * @param ignoreTimeScale Optional. If true, the time scale is treated as if it were 1.0,
129+ * ignoring effects that would otherwise slow down or speed up the entity
130+ * (like Stopwatch). Defaults to false.
131+ */
132+ AddVelocity : ( velocity : Vector , ignoreTimeScale : boolean ) => void ;
133+
124134 BloodExplode : ( ) => void ;
125135
126136 // `CanShutDoors` is deliberately not implemented here because it conflicts with
You can’t perform that action at this time.
0 commit comments