samples/src/filters/glow/Main.hx
0.01
is a magic number Open
Open
_count += 0.01;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
0.5
is a magic number Open
Open
_littleRobot.filters = [new GlowFilter(15, 2, 1, 0xFF0000, 0.5)];
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
0xFF0000
is a magic number Open
Open
_littleRobot.filters = [new GlowFilter(15, 2, 1, 0xFF0000, 0.5)];
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
0xFFFFFF
is a magic number Open
Open
backgroundColor = 0xFFFFFF;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
0.5
is a magic number Open
Open
_littleRobot.anchor.set(0.5);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
15
is a magic number Open
Open
_littleRobot.filters = [new GlowFilter(15, 2, 1, 0xFF0000, 0.5)];
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
Invalid method name signature: main
(name should be ~/^_[a-z][a-zA-Z0-9]*$/
) Open
Open
static function main() {
new Main();
}
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that method names conform to a format specified by the format
property.