|
Last change
on this file since 325 was 325, checked in by alloc, 7 years ago |
|
Code style cleanup (mostly whitespace changes, enforcing braces, using cleanup)
|
|
File size:
333 bytes
|
| Rev | Line | |
|---|
| [325] | 1 | namespace AllocsFixes.LiveData {
|
|---|
| 2 | public class Hostiles : EntityFilterList<EntityEnemy> {
|
|---|
| [312] | 3 | public static readonly Hostiles Instance = new Hostiles ();
|
|---|
| 4 |
|
|---|
| [325] | 5 | protected override EntityEnemy predicate (Entity _e) {
|
|---|
| [312] | 6 | if (_e is EntityEnemy) {
|
|---|
| 7 | if (_e.IsAlive ()) {
|
|---|
| 8 | return _e as EntityEnemy;
|
|---|
| [306] | 9 | }
|
|---|
| 10 | }
|
|---|
| [325] | 11 |
|
|---|
| [312] | 12 | return null;
|
|---|
| [306] | 13 | }
|
|---|
| 14 | }
|
|---|
| [325] | 15 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.