• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

denniskaselow / dartemis / #220

01 Nov 2024 10:13AM UTC coverage: 70.795% (-2.0%) from 72.782%
#220

push

denniskaselow
version 0.10.0

463 of 654 relevant lines covered (70.8%)

1.44 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/lib/src/core/systems/interval_entity_processing_system.dart
1
part of '../../../dartemis.dart';
2

3
/// If you need to process entities at a certain interval then use this.
4
/// A typical usage would be to regenerate ammo or health at certain intervals,
5
/// no need to do that every game loop, but perhaps every 100 ms. or every
6
/// second.
7
abstract class IntervalEntityProcessingSystem extends IntervalEntitySystem {
8
  /// Create a new [IntervalEntityProcessingSystem]. It requires at least one
9
  /// component.
10
  IntervalEntityProcessingSystem(
×
11
    super.interval,
12
    super.aspect, {
13
    super.group,
14
    super.passive,
15
  });
16

17
  /// Process an [entity] this system is interested in.
18
  @visibleForOverriding
19
  void processEntity(Entity entity);
20

21
  @override
×
22
  @visibleForOverriding
23
  void processEntities(Iterable<Entity> entities) =>
24
      entities.forEach(processEntity);
×
25
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc