delete comments

This commit is contained in:
ntr 2018-09-23 23:16:21 +10:00
parent d28d3df1ec
commit 25058e185c
2 changed files with 2 additions and 28 deletions

View File

@ -7,7 +7,7 @@ function fizzyText(message) {
// Notice they're all defined with "this". That makes them public. // Notice they're all defined with "this". That makes them public.
// Otherwise, gui-dat can't see them. // Otherwise, gui-dat can't see them.
this.growthSpeed = 0.4; // how fast do particles change size? this.growthSpeed = 0.8; // how fast do particles change size?
this.minSize = 1; this.minSize = 1;
this.maxSize = 4; // how big can they get? this.maxSize = 4; // how big can they get?
this.noiseStrength = 10; // how turbulent is the flow? this.noiseStrength = 10; // how turbulent is the flow?
@ -157,8 +157,7 @@ function fizzyText(message) {
// var angle = -Math.PI/2; // var angle = -Math.PI/2;
// Are we within the boundaries of the image? // Are we within the boundaries of the image?
const onScreen = this.x > 0 && this.x < width const onScreen = this.x > 0 && this.x < width && this.y > 0 && this.y < height;
&& this.y > 0 && this.y < height;
const isBlack = c !== 'rgb(255,255,255)' && onScreen; const isBlack = c !== 'rgb(255,255,255)' && onScreen;

View File

@ -10,31 +10,6 @@ use battle::{Battle};
use combat::{pve}; use combat::{pve};
use account::{Account, create, login, from_token}; use account::{Account, create, login, from_token};
// struct Replier<T> where T: Fn(RpcResponse) {
// send: T,
// msg: RpcResponse,
// }
// impl<T> Replier<T> where T: Fn(RpcResponse) {
// fn new(send: T) -> Replier<T> {
// Replier {
// send,
// msg: None,
// }
// }
// fn msg(&mut self, arg: u32) -> u32 {
// match self.msg {
// Some(v) => v,
// None => {
// let v = (self.calculation)(arg);
// self.msg = Some(v);
// v
// },
// }
// }
// }
pub struct Rpc; pub struct Rpc;
impl Rpc { impl Rpc {