This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class Camera { | |
private final Player player; | |
private final Vector2f size; | |
private final Level level; | |
private final Rectangle bounds; | |
public Camera(Player player, Level level, Vector2f size, Rectangle bounds) { | |
this.player = player; | |
this.level = level; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Created by Timon on 20-11-13. | |
*/ | |
var TiledMap = function (path) { | |
var request = new XMLHttpRequest(); | |
request.open("GET", path, false); | |
request.send(null); | |
var map = JSON.parse(request.responseText); | |
this.load(map); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Web; | |
using System.Web.UI; | |
using System.Web.UI.WebControls; | |
namespace Linqerino { | |
public partial class Posts1 : Page { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nl.tdegroot.games.pixxel.gfx; | |
import nl.tdegroot.games.pixxel.util.Log; | |
import nl.tdegroot.games.pixxel.util.ResourceLoader; | |
import javax.imageio.ImageIO; | |
import java.awt.image.BufferedImage; | |
import java.io.IOException; | |
public class Sprite { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class DisposableEngine extends Engine { | |
public void dispose() { | |
ImmutableArray<Entity> entities = getEntities(); | |
for (Entity e : entities) { | |
ImmutableArray<Component> components = e.getComponents(); | |
for (Component component : components) { | |
if (!(component instanceof Disposable)) continue; | |
Disposable disposable = (Disposable) component; | |
disposable.dispose(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package nl.tdegroot.games.melee.util; | |
/******************************************************************************* | |
* Copyright 2011 See AUTHORS file. | |
* <p> | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* <p> | |
* http://www.apache.org/licenses/LICENSE-2.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# MIT License | |
# | |
# Copyright (c) 2017 Timon de Groot | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Marissen\Theme\Service; | |
use Magento\Catalog\Model\Product; | |
use Magento\Framework\Pricing\PriceCurrencyInterface; | |
class CatalogProductFinalPrice | |
{ | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/Varien/Db/Adapter/Pdo/Mysql.php b/lib/Varien/Db/Adapter/Pdo/Mysql.php | |
index e6f48cf1c3..511b9e21c1 100644 | |
--- a/lib/Varien/Db/Adapter/Pdo/Mysql.php | |
+++ b/lib/Varien/Db/Adapter/Pdo/Mysql.php | |
@@ -20,7 +20,7 @@ | |
* | |
* @category Varien | |
* @package Varien_Db | |
- * @copyright Copyright (c) 2006-2018 Magento, Inc. (http://www.magento.com) | |
+ * @copyright Copyright (c) 2006-2019 Magento, Inc. (http://www.magento.com) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -rl --exclude="vendor/*" "Copyright (c) 2006-2019 Magento, Inc. (http://www.magento.com)" | xargs sed -i 's#Copyright (c) 2006-2019 Magento, Inc. (http://www.magento.com)#Copyright (c) 2006-2020 Magento, Inc. (http://www.magento.com)#g' |
OlderNewer