Paul Chote
b898b5001a
Rename AttackBase.IsAttacking to IsAiming to make its uses and assumptions clear.
2017-11-26 15:58:00 +01:00
reaperrr
0103b7ca87
Make WithSpriteBody.PlayCustomAnimation resume loop of Sequence
...
...after it finished playing.
2017-08-23 12:34:00 +02:00
reaperrr
9e138178ad
WithAttackAnimation style fix
...
Looks better this way.
2017-07-01 12:33:51 +01:00
reaperrr
d52313ab18
Rename WithAttackAnimation.BodyName to just .Body
...
Shorter and more consistent with Armament.Turret, WithTurretedAttackAnimation.Turret, WithSpriteBarrel.Armament etc.
2017-06-12 19:01:10 -05:00
reaperrr
fef388834e
Throw yaml exception if WithAttackAnimation has no assigned sprite body
...
...or too many assigned bodies.
Also, further simplify WithAttackAnimation code.
2017-06-12 19:01:10 -05:00
reaperrr
5fb468922e
Make WithAttackAnimation conditional
2017-06-12 19:01:10 -05:00
reaperrr
2e70b6931b
Refactor WithAttackAnimation
...
- made trait compatible with actors that have more than one sprite body or enable/disable sprite bodies via conditions
- added check for running attack anim and prevent aim/reload sequences from overriding it
- added caching of whether trait has either aim or reload sequence, to avoid some string.IsNullOrEmpty look-ups every tick
2017-06-12 19:01:10 -05:00
Taryn Hill
43317e0f5d
Update copyright notice year to 2017
2016-12-31 23:46:13 -06:00
reaperrr
3b43544e2d
Add start delay functionality to attack animation traits
2016-07-02 16:02:00 +02:00
reaperrr
75c49620d1
Introduce INotifyAttack.PreparingAttack
...
And use it to allow triggering attack animations/overlays at a different point
than the actual weapon firing.
2016-07-02 16:02:00 +02:00
reaperrr
fd5a597966
Move Render traits to Traits.Render namespace
2016-04-15 20:43:04 +02:00
Paul Chote
e71225496b
Clarify GPL version.
2016-02-21 16:30:48 +00:00
Paul Chote
b396965fd9
Update licence header year.
2016-02-21 16:27:31 +00:00
reaperrr
281a87acbc
Fix WithAttackAnimation breaking WithMoveAnimation
2015-08-08 17:00:38 +02:00
reaperrr
26a202600d
Make WithAttackAnimation work with WithSpriteBody as well
2015-07-05 00:17:01 +02:00
reaperrr
cd6c96db82
Fixed WithAttackAnimation namespace
2015-07-04 22:08:03 +02:00
Matthias Mailänder
7faebe874a
check for missing sequence entries using lint
2015-06-20 22:22:59 +02:00
reaperrr
4d79cce491
Added WithAttackAnimation trait
...
Interacts with WithUnitBody.
Upgrade rule for RenderUnitReload -> RenderSprites + WithUnitBody + WithAttackAnimation
Use WithAttackAnimation for RA V2 launcher
Remove RenderUnitReload
2015-06-04 14:42:10 +02:00