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
|
Line | |
---|
1 | namespace AllocsFixes.LiveData {
|
---|
2 | public class Hostiles : EntityFilterList<EntityEnemy> {
|
---|
3 | public static readonly Hostiles Instance = new Hostiles ();
|
---|
4 |
|
---|
5 | protected override EntityEnemy predicate (Entity _e) {
|
---|
6 | if (_e is EntityEnemy) {
|
---|
7 | if (_e.IsAlive ()) {
|
---|
8 | return _e as EntityEnemy;
|
---|
9 | }
|
---|
10 | }
|
---|
11 |
|
---|
12 | return null;
|
---|
13 | }
|
---|
14 | }
|
---|
15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.